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

pub struct Genesis { /* fields omitted */ }

Implementations

impl Genesis[src]

pub fn with(
    schema_id: SchemaId,
    chain: Chain,
    metadata: Metadata,
    owned_rights: OwnedRights,
    public_rights: PublicRights,
    script: SimplicityScript
) -> Self
[src]

pub fn contract_id(&self) -> ContractId[src]

pub fn schema_id(&self) -> SchemaId[src]

pub fn chain(&self) -> &Chain[src]

Trait Implementations

impl AsAny for Genesis[src]

impl AutoConceal for Genesis[src]

impl Clone for Genesis[src]

impl CommitEncode for Genesis[src]

impl ConsensusCommit for Genesis[src]

type Commitment = NodeId

impl Debug for Genesis[src]

impl Default for Genesis[src]

impl Display for Genesis[src]

impl Eq for Genesis[src]

impl From<Genesis> for Bech32[src]

impl FromStr for Genesis[src]

type Err = Error

The associated error which can be returned from parsing.

impl Node for Genesis[src]

impl PartialEq<Genesis> for Genesis[src]

impl StrictDecode for Genesis[src]

type Error = Error

Implementation-dependent error type

impl StrictEncode for Genesis[src]

type Error = Error

Implementation-dependent error type

impl StructuralEq for Genesis[src]

impl StructuralPartialEq for Genesis[src]

impl TryFrom<Bech32> for Genesis[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Genesis

impl Send for Genesis

impl Sync for Genesis

impl Unpin for Genesis

impl UnwindSafe for Genesis

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>,