Enum wallet::descriptor::ContentType[][src]

#[repr(u8)]pub enum ContentType {
    Bare,
    Hashed,
    SegWit,
    Taproot,
}

Variants

Bare
Hashed
SegWit
Taproot

Implementations

impl ContentType[src]

pub fn into_inner_type(self, script: bool) -> InnerType[src]

pub fn into_simple_outer_type(self, script: bool) -> OuterType[src]

pub fn into_nested_outer_type(self, script: bool) -> OuterType[src]

Trait Implementations

impl Clone for ContentType[src]

impl Copy for ContentType[src]

impl Debug for ContentType[src]

impl Default for ContentType[src]

impl Display for ContentType[src]

impl Eq for ContentType[src]

impl From<Category> for ContentType[src]

impl From<FullType> for ContentType[src]

impl FromStr for ContentType[src]

type Err = ParseError

The associated error which can be returned from parsing.

impl Hash for ContentType[src]

impl Ord for ContentType[src]

impl PartialEq<ContentType> for ContentType[src]

impl PartialOrd<ContentType> for ContentType[src]

impl StrictDecode for ContentType[src]

impl StrictEncode for ContentType[src]

impl StructuralEq for ContentType[src]

impl StructuralPartialEq for ContentType[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.