Enum descriptors::SpkClass
source · pub enum SpkClass {
Bare,
P2pkh,
P2sh,
P2wpkh,
P2wsh,
P2tr,
}
Variants§
Implementations§
Trait Implementations§
source§impl Ord for SpkClass
impl Ord for SpkClass
source§impl PartialEq for SpkClass
impl PartialEq for SpkClass
source§impl PartialOrd for SpkClass
impl PartialOrd for SpkClass
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 Copy for SpkClass
impl Eq for SpkClass
impl StructuralPartialEq for SpkClass
Auto Trait Implementations§
impl Freeze for SpkClass
impl RefUnwindSafe for SpkClass
impl Send for SpkClass
impl Sync for SpkClass
impl Unpin for SpkClass
impl UnwindSafe for SpkClass
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.