[][src]Struct elements::AssetIssuance

pub struct AssetIssuance {
    pub asset_blinding_nonce: [u8; 32],
    pub asset_entropy: [u8; 32],
    pub amount: Value,
    pub inflation_keys: Value,
}

Description of an asset issuance in a transaction input

Fields

asset_blinding_nonce: [u8; 32]

Zero for a new asset issuance; otherwise a blinding factor for the input

asset_entropy: [u8; 32]

Freeform entropy field

amount: Value

Amount of asset to issue

inflation_keys: Value

Amount of inflation keys to issue

Trait Implementations

impl Clone for AssetIssuance[src]

impl Copy for AssetIssuance[src]

impl Debug for AssetIssuance[src]

impl Decodable for AssetIssuance[src]

impl Default for AssetIssuance[src]

impl Encodable for AssetIssuance[src]

impl Eq for AssetIssuance[src]

impl Hash for AssetIssuance[src]

impl Ord for AssetIssuance[src]

impl PartialEq<AssetIssuance> for AssetIssuance[src]

impl PartialOrd<AssetIssuance> for AssetIssuance[src]

impl StructuralEq for AssetIssuance[src]

impl StructuralPartialEq for AssetIssuance[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.