Struct core_rpc_json::GetRawTransactionResultVin [−][src]
pub struct GetRawTransactionResultVin { pub sequence: u32, pub coinbase: Option<Vec<u8>>, pub txid: Option<Txid>, pub vout: Option<u32>, pub script_sig: Option<GetRawTransactionResultVinScriptSig>, pub txinwitness: Option<Vec<Vec<u8>>>, }
Fields
sequence: u32
coinbase: Option<Vec<u8>>
The raw scriptSig in case of a coinbase tx.
txid: Option<Txid>
Not provided for coinbase txs.
vout: Option<u32>
Not provided for coinbase txs.
script_sig: Option<GetRawTransactionResultVinScriptSig>
The scriptSig in case of a non-coinbase tx.
txinwitness: Option<Vec<Vec<u8>>>
Not provided for coinbase txs.
Implementations
Whether this input is from a coinbase tx. The [txid], [vout] and [script_sig] fields are not provided for coinbase transactions.
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetRawTransactionResultVin
impl Send for GetRawTransactionResultVin
impl Sync for GetRawTransactionResultVin
impl Unpin for GetRawTransactionResultVin
impl UnwindSafe for GetRawTransactionResultVin
Blanket Implementations
Mutably borrows from an owned value. Read more