pub struct GetRawTransactionResult {Show 14 fields
pub in_active_chain: Option<bool>,
pub hex: Vec<u8>,
pub txid: Txid,
pub hash: Wtxid,
pub size: usize,
pub vsize: usize,
pub version: u32,
pub locktime: u32,
pub vin: Vec<GetRawTransactionResultVin>,
pub vout: Vec<GetRawTransactionResultVout>,
pub blockhash: Option<BlockHash>,
pub confirmations: Option<u32>,
pub time: Option<usize>,
pub blocktime: Option<usize>,
}
Fields
in_active_chain: Option<bool>
hex: Vec<u8>
txid: Txid
hash: Wtxid
size: usize
vsize: usize
version: u32
locktime: u32
vin: Vec<GetRawTransactionResultVin>
vout: Vec<GetRawTransactionResultVout>
blockhash: Option<BlockHash>
confirmations: Option<u32>
time: Option<usize>
blocktime: Option<usize>
Implementations
sourceimpl GetRawTransactionResult
impl GetRawTransactionResult
sourcepub fn is_coinbase(&self) -> bool
pub fn is_coinbase(&self) -> bool
Whether this tx is a coinbase tx.
pub fn transaction(&self) -> Result<Transaction, Error>
Trait Implementations
sourceimpl Clone for GetRawTransactionResult
impl Clone for GetRawTransactionResult
sourcefn clone(&self) -> GetRawTransactionResult
fn clone(&self) -> GetRawTransactionResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetRawTransactionResult
impl Debug for GetRawTransactionResult
sourceimpl<'de> Deserialize<'de> for GetRawTransactionResult
impl<'de> Deserialize<'de> for GetRawTransactionResult
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<GetRawTransactionResult> for GetRawTransactionResult
impl PartialEq<GetRawTransactionResult> for GetRawTransactionResult
sourcefn eq(&self, other: &GetRawTransactionResult) -> bool
fn eq(&self, other: &GetRawTransactionResult) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for GetRawTransactionResult
impl Serialize for GetRawTransactionResult
impl Eq for GetRawTransactionResult
impl StructuralEq for GetRawTransactionResult
impl StructuralPartialEq for GetRawTransactionResult
Auto Trait Implementations
impl RefUnwindSafe for GetRawTransactionResult
impl Send for GetRawTransactionResult
impl Sync for GetRawTransactionResult
impl Unpin for GetRawTransactionResult
impl UnwindSafe for GetRawTransactionResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more