[][src]Struct lnpbp::rgb::contract::nodes::Extension

pub struct Extension { /* fields omitted */ }

Implementations

impl Extension[src]

pub fn with(
    extension_type: ExtensionType,
    contract_id: ContractId,
    metadata: Metadata,
    parent_public_rights: ParentPublicRights,
    owned_rights: OwnedRights,
    public_rights: PublicRights,
    script: SimplicityScript
) -> Self
[src]

Trait Implementations

impl AsAny for Extension[src]

impl AutoConceal for Extension[src]

impl Clone for Extension[src]

impl CommitEncodeWithStrategy for Extension[src]

impl ConsensusCommit for Extension[src]

type Commitment = NodeId

impl Debug for Extension[src]

impl Default for Extension[src]

impl Display for Extension[src]

impl Eq for Extension[src]

impl From<Extension> for Bech32[src]

impl FromStr for Extension[src]

type Err = Error

The associated error which can be returned from parsing.

impl Node for Extension[src]

impl PartialEq<Extension> for Extension[src]

impl StrictDecode for Extension[src]

type Error = Error

Implementation-dependent error type

impl StrictEncode for Extension[src]

type Error = Error

Implementation-dependent error type

impl StructuralEq for Extension[src]

impl StructuralPartialEq for Extension[src]

impl TryFrom<Bech32> for Extension[src]

type Error = Error

The type returned in the event of a conversion error.

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> FromBech32 for T where
    T: TryFrom<Bech32, Error = Error>, 
[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToBech32 for T where
    T: Into<Bech32> + Clone
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,