[][src]Struct tapyrus::blockdata::script::ColorIdentifier

pub struct ColorIdentifier {
    pub token_type: TokenTypes,
    // some fields omitted
}

ColorIdentifier

Fields

token_type: TokenTypes

Token type

Implementations

impl ColorIdentifier[src]

pub fn reissuable(script_pubkey: Script) -> Self[src]

initialize ColorIdentifier with type Reissuable

pub fn non_reissuable(out_point: OutPoint) -> Self[src]

initialize ColorIdentifier with type Non Reissuable

pub fn nft(out_point: OutPoint) -> Self[src]

initialize ColorIdentifier with type Nft

Trait Implementations

impl Clone for ColorIdentifier[src]

impl Debug for ColorIdentifier[src]

impl Decodable for ColorIdentifier[src]

impl Display for ColorIdentifier[src]

impl Encodable for ColorIdentifier[src]

impl Eq for ColorIdentifier[src]

impl Ord for ColorIdentifier[src]

impl PartialEq<ColorIdentifier> for ColorIdentifier[src]

impl PartialOrd<ColorIdentifier> for ColorIdentifier[src]

impl StructuralEq for ColorIdentifier[src]

impl StructuralPartialEq for ColorIdentifier[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Az for T[src]

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

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

impl<T> CheckedAs for T[src]

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

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

impl<T> OverflowingAs for T[src]

impl<T> SaturatingAs for 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.

impl<T> WrappingAs for T[src]