Struct wallet::descriptor::Variants[][src]

#[repr(C)]pub struct Variants {
    pub bare: bool,
    pub hashed: bool,
    pub nested: bool,
    pub segwit: bool,
    pub taproot: bool,
}

Fields

bare: boolhashed: boolnested: boolsegwit: booltaproot: bool

Implementations

impl Variants[src]

pub fn count(&self) -> u32[src]

pub fn has_match(&self, category: Category) -> bool[src]

Trait Implementations

impl Clone for Variants[src]

impl Copy for Variants[src]

impl Debug for Variants[src]

impl Default for Variants[src]

impl Display for Variants[src]

impl Eq for Variants[src]

impl FromStr for Variants[src]

type Err = ParseError

The associated error which can be returned from parsing.

impl Hash for Variants[src]

impl Ord for Variants[src]

impl PartialEq<Variants> for Variants[src]

impl PartialOrd<Variants> for Variants[src]

impl StrictDecode for Variants[src]

impl StrictEncode for Variants[src]

impl StructuralEq for Variants[src]

impl StructuralPartialEq for Variants[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.