pub struct DecodeRawTransactionResponse {
pub hash: String,
pub locktime: u64,
pub size: u64,
pub txid: Txid,
pub version: u32,
pub vin: Value,
pub vout: Value,
pub vsize: u64,
pub weight: u64,
}Expand description
Response for the DecodeRawTransaction RPC method
Fields§
§hash: StringThe transaction hash (differs from txid for witness transactions)
locktime: u64The lock time
size: u64The serialized transaction size
txid: TxidThe transaction id
version: u32The version
vin: Value§vout: Value§vsize: u64The virtual transaction size (differs from size for witness transactions)
weight: u64The transaction’s weight (between vsize4-3 and vsize4)
Trait Implementations§
Source§impl Clone for DecodeRawTransactionResponse
impl Clone for DecodeRawTransactionResponse
Source§fn clone(&self) -> DecodeRawTransactionResponse
fn clone(&self) -> DecodeRawTransactionResponse
Returns a duplicate 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 DecodeRawTransactionResponse
impl Debug for DecodeRawTransactionResponse
Source§impl<'de> Deserialize<'de> for DecodeRawTransactionResponse
impl<'de> Deserialize<'de> for DecodeRawTransactionResponse
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 DecodeRawTransactionResponse
impl PartialEq for DecodeRawTransactionResponse
Source§fn eq(&self, other: &DecodeRawTransactionResponse) -> bool
fn eq(&self, other: &DecodeRawTransactionResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DecodeRawTransactionResponse
Auto Trait Implementations§
impl Freeze for DecodeRawTransactionResponse
impl RefUnwindSafe for DecodeRawTransactionResponse
impl Send for DecodeRawTransactionResponse
impl Sync for DecodeRawTransactionResponse
impl Unpin for DecodeRawTransactionResponse
impl UnwindSafe for DecodeRawTransactionResponse
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