Struct cryptoapis::models::get_transaction_details_by_transaction_idribs::GetTransactionDetailsByTransactionIdribs [−][src]
pub struct GetTransactionDetailsByTransactionIdribs {Show 13 fields
pub locktime: i32,
pub size: i32,
pub v_size: i32,
pub version: i32,
pub vin: Vec<GetTransactionDetailsByTransactionIdribsd2Vin>,
pub vout: Vec<GetTransactionDetailsByTransactionIdribsd2Vout>,
pub contract: String,
pub gas_limit: String,
pub gas_price: Box<GetTransactionDetailsByTransactionIdribsbscGasPrice>,
pub gas_used: String,
pub input_data: String,
pub nonce: i32,
pub transaction_status: String,
}
Fields
locktime: i32
Represents the time at which a particular transaction can be added to the blockchain.
size: i32
Represents the total size of this transaction.
v_size: i32
Represents the virtual size of this transaction.
version: i32
Represents transaction version number.
vin: Vec<GetTransactionDetailsByTransactionIdribsd2Vin>
Represents the transaction inputs.
vout: Vec<GetTransactionDetailsByTransactionIdribsd2Vout>
Represents the transaction outputs.
contract: String
Represents the specific transaction contract
gas_limit: String
Represents the amount of gas used by this specific transaction alone.
gas_price: Box<GetTransactionDetailsByTransactionIdribsbscGasPrice>
gas_used: String
Defines the unit of the gas price amount, e.g. BTC, ETH, XRP.
input_data: String
Represents additional information that is required for the transaction.
nonce: i32
Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender’s address.
transaction_status: String
Represents the status of this transaction.
Implementations
pub fn new(
locktime: i32,
size: i32,
v_size: i32,
version: i32,
vin: Vec<GetTransactionDetailsByTransactionIdribsd2Vin>,
vout: Vec<GetTransactionDetailsByTransactionIdribsd2Vout>,
contract: String,
gas_limit: String,
gas_price: GetTransactionDetailsByTransactionIdribsbscGasPrice,
gas_used: String,
input_data: String,
nonce: i32,
transaction_status: String
) -> GetTransactionDetailsByTransactionIdribs
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
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more