Struct rgb20::Allocation[][src]

pub struct Allocation { /* fields omitted */ }

Implementations

impl Allocation[src]

pub fn node_id(&self) -> &NodeId[src]

pub fn index(&self) -> &u16[src]

pub fn outpoint(&self) -> &OutPoint[src]

pub fn revealed_amount(&self) -> &Revealed[src]

impl Allocation[src]

pub fn with(
    node_id: NodeId,
    index: u16,
    outpoint: OutPoint,
    value: Revealed
) -> Allocation
[src]

pub fn value(&self) -> AtomicValue[src]

Trait Implementations

impl Clone for Allocation[src]

impl Copy for Allocation[src]

impl Debug for Allocation[src]

impl Display for Allocation[src]

impl PartialEq<Allocation> for Allocation[src]

impl StrictDecode for Allocation[src]

impl StrictEncode for Allocation[src]

impl StructuralPartialEq for Allocation[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> Same<T> for T

type Output = T

Should always be Self

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