Enum bdk_wallet::descriptor::policy::PkOrF
source · 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§
source§impl PartialEq for PkOrF
impl PartialEq for PkOrF
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
§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