pub enum SignerId {
PkHash(Hash),
Fingerprint(Fingerprint),
Dummy(u64),
}
Expand description
Identifier of a signer in the SignersContainers
. Used as a key to find the right signer among
multiple of them
Variants§
PkHash(Hash)
Bitcoin HASH160 (RIPEMD160 after SHA256) hash of an ECDSA public key
Fingerprint(Fingerprint)
The fingerprint of a BIP32 extended key
Dummy(u64)
Dummy identifier
Trait Implementations§
source§impl From<Fingerprint> for SignerId
impl From<Fingerprint> for SignerId
source§fn from(fing: Fingerprint) -> SignerId
fn from(fing: Fingerprint) -> SignerId
Converts to this type from the input type.
source§impl Ord for SignerId
impl Ord for SignerId
source§impl PartialEq for SignerId
impl PartialEq for SignerId
source§impl PartialOrd for SignerId
impl PartialOrd for SignerId
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 SignerId
impl StructuralEq for SignerId
impl StructuralPartialEq for SignerId
Auto Trait Implementations§
impl RefUnwindSafe for SignerId
impl Send for SignerId
impl Sync for SignerId
impl Unpin for SignerId
impl UnwindSafe for SignerId
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