[][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 Clone for GetRawTransactionResult[src]

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

Performs copy-assignment from source. Read more

impl PartialEq<GetRawTransactionResult> for GetRawTransactionResult[src]

impl Eq for GetRawTransactionResult[src]

impl Debug for GetRawTransactionResult[src]

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

impl Serialize for GetRawTransactionResult[src]

Auto Trait Implementations

Blanket Implementations

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.

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

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

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

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