[][src]Struct iota_model::Transaction

pub struct Transaction {
    pub hash: String,
    pub signature_fragments: String,
    pub address: String,
    pub value: i64,
    pub obsolete_tag: String,
    pub timestamp: i64,
    pub current_index: usize,
    pub last_index: usize,
    pub bundle: String,
    pub trunk_transaction: String,
    pub branch_transaction: String,
    pub nonce: String,
    pub persistence: bool,
    pub tag: String,
    pub attachment_timestamp: i64,
    pub attachment_timestamp_lower_bound: i64,
    pub attachment_timestamp_upper_bound: i64,
}

Represents an IOTA transaction

Fields

hash: Stringsignature_fragments: Stringaddress: Stringvalue: i64obsolete_tag: Stringtimestamp: i64current_index: usizelast_index: usizebundle: Stringtrunk_transaction: Stringbranch_transaction: Stringnonce: Stringpersistence: booltag: Stringattachment_timestamp: i64attachment_timestamp_lower_bound: i64attachment_timestamp_upper_bound: i64

Trait Implementations

impl PartialEq<Transaction> for Transaction[src]

impl Clone for Transaction[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for Transaction[src]

impl Debug for Transaction[src]

impl FromStr for Transaction[src]

type Err = Error

The associated error which can be returned from parsing.

impl TryInto<String> for Transaction[src]

type Error = Error

The type returned in the event of a conversion error.

impl<'_> TryInto<String> for &'_ Transaction[src]

type Error = Error

The type returned in the event of a conversion error.

impl Serialize for Transaction[src]

impl<'de> Deserialize<'de> for Transaction[src]

Auto Trait Implementations

impl Send for Transaction

impl Sync for Transaction

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]