Struct in3::btc::types::Transaction[][src]

pub struct Transaction {
    pub in_active_chain: bool,
    pub data: Bytes,
    pub txid: Hash,
    pub hash: Hash,
    pub size: u32,
    pub vsize: u32,
    pub weight: u32,
    pub version: u32,
    pub locktime: u32,
    pub vin: Vec<TransactionInput>,
    pub vout: Vec<TransactionOutput>,
    pub blockhash: Hash,
    pub confirmations: u32,
    pub time: u32,
    pub blocktime: u32,
}

The transaction type.

Fields

in_active_chain: bool

True if transaction is part of the active chain

data: Bytes

Serialized transaction data

txid: Hash

Transaction id

hash: Hash

Transaction hash

size: u32

Raw size of transaction

vsize: u32

Virtual size of transaction

weight: u32

Weight of transaction

version: u32

Used version

locktime: u32

Locktime

vin: Vec<TransactionInput>

Vector of TransactionInput objects

vout: Vec<TransactionOutput>

Vector of TransactionOutput objects

blockhash: Hash

Hash of block containing the transaction

confirmations: u32

Number of confirmations or blocks mined on top of the containing block

time: u32

Unix timestamp in seconds since 1970

blocktime: u32

Unix timestamp in seconds since 1970

Trait Implementations

impl Debug for Transaction[src]

impl From<*const btc_transaction> for Transaction[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> 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,