pub struct DecodeRawTransactionResponse {
pub in_active_chain: Option<bool>,
pub hex: String,
pub txid: String,
pub hash: String,
pub size: u64,
pub vsize: u64,
pub weight: u64,
pub version: u64,
pub locktime: u64,
pub vin: Vec<Vin>,
pub vout: Vec<Vout>,
}
Fields§
§in_active_chain: Option<bool>
§hex: String
§txid: String
§hash: String
§size: u64
§vsize: u64
§weight: u64
§version: u64
§locktime: u64
§vin: Vec<Vin>
§vout: Vec<Vout>
Implementations§
Source§impl DecodeRawTransactionResponse
impl DecodeRawTransactionResponse
pub fn is_coinbase_transaction(&self) -> bool
Trait Implementations§
Source§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
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