pub enum PkOrF {
Pubkey(PublicKey),
XOnlyPubkey(XOnlyPublicKey),
Fingerprint(Fingerprint),
}
Expand description
A unique identifier for a key
Variants§
Pubkey(PublicKey)
A legacy public key
XOnlyPubkey(XOnlyPublicKey)
A x-only public key
Fingerprint(Fingerprint)
An extended key fingerprint
Trait Implementations§
impl Eq for PkOrF
impl StructuralPartialEq for PkOrF
Auto Trait Implementations§
impl Freeze for PkOrF
impl RefUnwindSafe for PkOrF
impl Send for PkOrF
impl Sync for PkOrF
impl Unpin for PkOrF
impl UnwindSafe for PkOrF
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