Enum bdk_chain::bitcoin::psbt::SigningKeys
pub enum SigningKeys {
Ecdsa(Vec<PublicKey>),
Schnorr(Vec<XOnlyPublicKey>),
}
Expand description
A list of keys used to sign an input.
Variants§
Ecdsa(Vec<PublicKey>)
Keys used to sign an ECDSA input.
Schnorr(Vec<XOnlyPublicKey>)
Keys used to sign a Taproot input.
- Key path spend: This is the internal key.
- Script path spend: This is the pubkey associated with the secret key that signed.
Trait Implementations§
§impl Clone for SigningKeys
impl Clone for SigningKeys
§fn clone(&self) -> SigningKeys
fn clone(&self) -> SigningKeys
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for SigningKeys
impl Debug for SigningKeys
§impl Ord for SigningKeys
impl Ord for SigningKeys
§impl PartialEq for SigningKeys
impl PartialEq for SigningKeys
§fn eq(&self, other: &SigningKeys) -> bool
fn eq(&self, other: &SigningKeys) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for SigningKeys
impl PartialOrd for SigningKeys
§fn partial_cmp(&self, other: &SigningKeys) -> Option<Ordering>
fn partial_cmp(&self, other: &SigningKeys) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for SigningKeys
impl StructuralPartialEq for SigningKeys
Auto Trait Implementations§
impl Freeze for SigningKeys
impl RefUnwindSafe for SigningKeys
impl Send for SigningKeys
impl Sync for SigningKeys
impl Unpin for SigningKeys
impl UnwindSafe for SigningKeys
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more