[][src]Struct bytom_rust_sdk::transaction::BlockTx

pub struct BlockTx {
    pub id: String,
    pub version: u64,
    pub size: u64,
    pub time_range: u64,
    pub inputs: Vec<AnnotatedInput>,
    pub outputs: Vec<AnnotatedOutput>,
    pub status_fail: bool,
    pub mux_id: String,
}

Fields

id: Stringversion: u64size: u64time_range: u64inputs: Vec<AnnotatedInput>outputs: Vec<AnnotatedOutput>status_fail: boolmux_id: String

Trait Implementations

impl Debug for BlockTx[src]

impl Default for BlockTx[src]

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

impl Serialize for BlockTx[src]

Auto Trait Implementations

impl RefUnwindSafe for BlockTx

impl Send for BlockTx

impl Sync for BlockTx

impl Unpin for BlockTx

impl UnwindSafe for BlockTx

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, 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.