[][src]Struct godcoin::tx::MintTx

pub struct MintTx {
    pub base: Tx,
    pub to: ScriptHash,
    pub amount: Asset,
    pub attachment: Vec<u8>,
    pub attachment_name: String,
    pub script: Script,
}

Fields

base: Txto: ScriptHashamount: Assetattachment: Vec<u8>attachment_name: Stringscript: Script

Trait Implementations

impl Clone for MintTx[src]

impl Debug for MintTx[src]

impl Deref for MintTx[src]

type Target = Tx

The resulting type after dereferencing.

impl DeserializeTx<MintTx> for MintTx[src]

impl PartialEq<MintTx> for MintTx[src]

impl SerializeTx for MintTx[src]

impl StructuralPartialEq for MintTx[src]

Auto Trait Implementations

impl RefUnwindSafe for MintTx

impl Send for MintTx

impl Sync for MintTx

impl Unpin for MintTx

impl UnwindSafe for MintTx

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.