[][src]Struct rpc::v1::types::Transaction

pub struct Transaction {
    pub hex: RawTransaction,
    pub txid: H256,
    pub hash: H256,
    pub size: usize,
    pub vsize: usize,
    pub version: i32,
    pub locktime: i32,
    pub vin: Vec<SignedTransactionInput>,
    pub vout: Vec<SignedTransactionOutput>,
    pub blockhash: H256,
    pub confirmations: u32,
    pub time: u32,
    pub blocktime: u32,
}

Transaction

Fields

Raw transaction

The transaction id (same as provided)

The transaction hash (differs from txid for witness transactions)

The serialized transaction size

The virtual transaction size (differs from size for witness transactions)

The version

The lock time

Transaction inputs

Transaction outputs

Hash of the block this transaction is included in

Number of confirmations of this transaction

The transaction time in seconds since epoch (Jan 1 1970 GMT)

The block time in seconds since epoch (Jan 1 1970 GMT)

Trait Implementations

impl Debug for Transaction
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Transaction
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Transaction

impl Sync for Transaction

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

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

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Important traits for &'a mut R

Immutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Important traits for &'a mut R

Mutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

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

impl<T> Erased for T