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§
Source§impl Clone for SigningKeys
impl Clone for SigningKeys
Source§fn clone(&self) -> SigningKeys
fn clone(&self) -> SigningKeys
Returns a duplicate 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 moreSource§impl Debug for SigningKeys
impl Debug for SigningKeys
Source§impl Ord for SigningKeys
impl Ord for SigningKeys
Source§fn cmp(&self, other: &SigningKeys) -> Ordering
fn cmp(&self, other: &SigningKeys) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SigningKeys
impl PartialEq for SigningKeys
Source§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