[][src]Struct rgb::api::fungible::Issue

pub struct Issue {
    pub ticker: String,
    pub name: String,
    pub description: Option<String>,
    pub precision: u8,
    pub allocation: Vec<OutpointCoins>,
    pub inflation: Vec<OutpointCoins>,
    pub renomination: Option<OutPoint>,
    pub epoch: Option<OutPoint>,
}

Fields

ticker: String

Asset ticker (up to 8 characters, always converted to uppercase)

name: String

Asset name (up to 32 characters)

description: Option<String>

Asset description

precision: u8

Precision, i.e. number of digits reserved for fractional part

allocation: Vec<OutpointCoins>

Asset allocation, in form of @:

inflation: Vec<OutpointCoins>

Outputs controlling inflation (secondary issue); in form of @:

renomination: Option<OutPoint>

Enable renomination procedure; parameter takes argument in form of : specifying output controlling renomination right

epoch: Option<OutPoint>

Enable epoch-based burn & replacement procedure; parameter takes argument in form of : specifying output controlling the right of opening the first epoch

Trait Implementations

impl Clap for Issue[src]

impl Clone for Issue[src]

impl Debug for Issue[src]

impl Display for Issue[src]

impl FromArgMatches for Issue[src]

impl IntoApp for Issue[src]

impl PartialEq<Issue> for Issue[src]

impl StrictDecode for Issue[src]

type Error = Error

Implementation-dependent error type

impl StrictEncode for Issue[src]

type Error = Error

Implementation-dependent error type

impl StructuralPartialEq for Issue[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> IntoSql for 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>,