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§
source§impl 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§
source§impl Clone for GetRawTransactionResult
impl Clone for GetRawTransactionResult
source§fn clone(&self) -> GetRawTransactionResult
fn clone(&self) -> GetRawTransactionResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetRawTransactionResult
impl Debug for GetRawTransactionResult
source§impl<'de> Deserialize<'de> for GetRawTransactionResult
impl<'de> Deserialize<'de> for GetRawTransactionResult
source§fn 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
source§impl PartialEq for GetRawTransactionResult
impl PartialEq for GetRawTransactionResult
source§fn 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 ==
.source§impl Serialize for GetRawTransactionResult
impl Serialize for GetRawTransactionResult
impl Eq for GetRawTransactionResult
impl StructuralPartialEq for GetRawTransactionResult
Auto Trait Implementations§
impl Freeze for GetRawTransactionResult
impl RefUnwindSafe for GetRawTransactionResult
impl Send for GetRawTransactionResult
impl Sync for GetRawTransactionResult
impl Unpin for GetRawTransactionResult
impl UnwindSafe for GetRawTransactionResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more