Enum 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
§impl PartialOrd for SigningKeys
impl PartialOrd for SigningKeys
impl 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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