[][src]Struct bitcoincore_rpc_json::GetRawTransactionResult

pub struct GetRawTransactionResult {
    pub in_active_chain: Option<bool>,
    pub hex: Vec<u8>,
    pub txid: Hash,
    pub hash: Hash,
    pub size: usize,
    pub vsize: usize,
    pub version: u32,
    pub locktime: u32,
    pub vin: Vec<GetRawTransactionResultVin>,
    pub vout: Vec<GetRawTransactionResultVout>,
    pub blockhash: Option<Hash>,
    pub confirmations: Option<u32>,
    pub time: Option<usize>,
    pub blocktime: Option<usize>,
}

Fields

in_active_chain: Option<bool>hex: Vec<u8>txid: Hashhash: Hashsize: usizevsize: usizeversion: u32locktime: u32vin: Vec<GetRawTransactionResultVin>vout: Vec<GetRawTransactionResultVout>blockhash: Option<Hash>confirmations: Option<u32>time: Option<usize>blocktime: Option<usize>

Methods

impl GetRawTransactionResult[src]

pub fn is_coinbase(&self) -> bool[src]

Whether this tx is a coinbase tx.

pub fn transaction(&self) -> Result<Transaction, Error>[src]

Trait Implementations

impl Eq for GetRawTransactionResult[src]

impl PartialEq<GetRawTransactionResult> for GetRawTransactionResult[src]

impl Clone for GetRawTransactionResult[src]

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

Performs copy-assignment from source. Read more

impl Debug for GetRawTransactionResult[src]

impl Serialize for GetRawTransactionResult[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

default fn readable(self) -> Readable<Self>[src]

Marks self as using is_human_readable == true

default fn compact(self) -> Compact<Self>[src]

Marks self as using is_human_readable == false