pub struct DecodeRawTransactionResult {
pub txid: Txid,
pub hash: Wtxid,
pub size: u32,
pub vsize: u32,
pub weight: u32,
pub version: u32,
pub locktime: u32,
pub vin: Vec<GetRawTransactionResultVin>,
pub vout: Vec<GetRawTransactionResultVout>,
}
Expand description
Model for decode transaction
Fields§
§txid: Txid
§hash: Wtxid
§size: u32
§vsize: u32
§weight: u32
§version: u32
§locktime: u32
§vin: Vec<GetRawTransactionResultVin>
§vout: Vec<GetRawTransactionResultVout>
Trait Implementations§
source§impl Clone for DecodeRawTransactionResult
impl Clone for DecodeRawTransactionResult
source§fn clone(&self) -> DecodeRawTransactionResult
fn clone(&self) -> DecodeRawTransactionResult
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 DecodeRawTransactionResult
impl Debug for DecodeRawTransactionResult
source§impl<'de> Deserialize<'de> for DecodeRawTransactionResult
impl<'de> Deserialize<'de> for DecodeRawTransactionResult
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 DecodeRawTransactionResult
impl PartialEq for DecodeRawTransactionResult
source§fn eq(&self, other: &DecodeRawTransactionResult) -> bool
fn eq(&self, other: &DecodeRawTransactionResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DecodeRawTransactionResult
impl StructuralPartialEq for DecodeRawTransactionResult
Auto Trait Implementations§
impl Freeze for DecodeRawTransactionResult
impl RefUnwindSafe for DecodeRawTransactionResult
impl Send for DecodeRawTransactionResult
impl Sync for DecodeRawTransactionResult
impl Unpin for DecodeRawTransactionResult
impl UnwindSafe for DecodeRawTransactionResult
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