pub enum SpkClass {
Bare,
P2pkh,
P2sh,
P2wpkh,
P2wsh,
P2tr,
}
Variants§
Implementations§
Source§impl SpkClass
impl SpkClass
pub const fn dust_limit(self) -> Sats
pub const fn is_taproot(self) -> bool
Trait Implementations§
Source§impl Ord for SpkClass
impl Ord for SpkClass
Source§impl PartialOrd for SpkClass
impl PartialOrd for SpkClass
impl 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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.