Struct bitcoin_rpc_client::TransactionInput [−][src]
pub struct TransactionInput { /* fields omitted */ }
Transaction input can either be a regular transaction or a coinbase transaction.
They have different fields, but most of the time, we will be interacting with regular transactions.
For deserialization compatibility, we define all the fields as Option
Methods
impl TransactionInput
[src]
impl TransactionInput
pub fn txid(&self) -> &TransactionId
[src]
pub fn txid(&self) -> &TransactionId
pub fn vout(&self) -> u32
[src]
pub fn vout(&self) -> u32
pub fn script_sig(&self) -> &ScriptSig
[src]
pub fn script_sig(&self) -> &ScriptSig
pub fn coinbase(&self) -> &str
[src]
pub fn coinbase(&self) -> &str
pub fn sequence(&self) -> u64
[src]
pub fn sequence(&self) -> u64
Trait Implementations
impl Debug for TransactionInput
[src]
impl Debug for TransactionInput
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for TransactionInput
[src]
impl PartialEq for TransactionInput
fn eq(&self, other: &TransactionInput) -> bool
[src]
fn eq(&self, other: &TransactionInput) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TransactionInput) -> bool
[src]
fn ne(&self, other: &TransactionInput) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for TransactionInput
impl Send for TransactionInput
impl Sync for TransactionInput
impl Sync for TransactionInput