[][src]Enum ergo_lib::chain::ergo_box::MandatoryRegisterId

pub enum MandatoryRegisterId {
    R0,
    R1,
    R2,
    R3,
}

Register ids that every box have (box properties exposed as registers)

Variants

R0

Monetary value, in Ergo tokens

R1

Guarding script

R2

Secondary tokens

R3

Reference to transaction and output id where the box was created

Trait Implementations

impl Clone for MandatoryRegisterId[src]

impl Copy for MandatoryRegisterId[src]

impl Debug for MandatoryRegisterId[src]

impl Eq for MandatoryRegisterId[src]

impl PartialEq<MandatoryRegisterId> for MandatoryRegisterId[src]

impl StructuralEq for MandatoryRegisterId[src]

impl StructuralPartialEq for MandatoryRegisterId[src]

impl TryFrom<i8> for MandatoryRegisterId[src]

type Error = RegisterIdOutOfBounds

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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<F> TryExtractInto<F> for F[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>,