[][src]Struct godcoin::tx::TransferTx

pub struct TransferTx {
    pub base: Tx,
    pub from: ScriptHash,
    pub to: ScriptHash,
    pub script: Script,
    pub amount: Asset,
    pub memo: Vec<u8>,
}

Fields

base: Txfrom: ScriptHashto: ScriptHashscript: Scriptamount: Assetmemo: Vec<u8>

Trait Implementations

impl SerializeTx for TransferTx[src]

impl DeserializeTx<TransferTx> for TransferTx[src]

impl Clone for TransferTx[src]

impl PartialEq<TransferTx> for TransferTx[src]

impl Deref for TransferTx[src]

type Target = Tx

The resulting type after dereferencing.

impl Debug for TransferTx[src]

impl StructuralPartialEq for TransferTx[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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 = !

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<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]