[][src]Struct bytom_rust_sdk::transaction::AnnotatedTx

pub struct AnnotatedTx {
    pub tx_id: String,
    pub block_time: String,
    pub block_hash: String,
    pub block_height: u64,
    pub block_index: u32,
    pub block_transactions_count: u32,
    pub inputs: Vec<AnnotatedInput>,
    pub outputs: Vec<AnnotatedOutput>,
    pub status_fail: bool,
    pub size: u64,
}

Fields

tx_id: Stringblock_time: Stringblock_hash: Stringblock_height: u64block_index: u32block_transactions_count: u32inputs: Vec<AnnotatedInput>outputs: Vec<AnnotatedOutput>status_fail: boolsize: u64

Trait Implementations

impl Clone for AnnotatedTx[src]

impl Debug for AnnotatedTx[src]

impl Default for AnnotatedTx[src]

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

impl Serialize for AnnotatedTx[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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[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.