Struct cryptoapis::models::get_transaction_details_by_transaction_idribsd2_vout::GetTransactionDetailsByTransactionIdribsd2Vout [−][src]
pub struct GetTransactionDetailsByTransactionIdribsd2Vout { pub is_spent: bool, pub script_pub_key: Box<GetTransactionDetailsByTransactionIdribsd2ScriptPubKey>, pub value: String, }
Fields
is_spent: bool
Defines whether the output is spent or not.
script_pub_key: Box<GetTransactionDetailsByTransactionIdribsd2ScriptPubKey>
value: String
Represents the sent/received amount.
Implementations
pub fn new(
is_spent: bool,
script_pub_key: GetTransactionDetailsByTransactionIdribsd2ScriptPubKey,
value: String
) -> GetTransactionDetailsByTransactionIdribsd2Vout
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
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more