Struct cryptoapis::models::list_zilliqa_transactions_by_block_hash_ri::ListZilliqaTransactionsByBlockHashRi [−][src]
pub struct ListZilliqaTransactionsByBlockHashRi { pub fee: Box<GetZilliqaTransactionDetailsByTransactionIdriFee>, pub gas_limit: i32, pub gas_price: i32, pub gas_used: i32, pub mined_in_block_height: i32, pub nonce: i32, pub recipients: Vec<ListZilliqaTransactionsByAddressRiRecipients>, pub senders: Vec<ListZilliqaTransactionsByAddressRiSenders>, pub timestamp: i32, pub transaction_hash: String, pub transaction_index: i32, pub transaction_status: String, }
Fields
fee: Box<GetZilliqaTransactionDetailsByTransactionIdriFee>
gas_limit: i32
Represents the maximum amount of gas allowed in the block in order to determine how many transactions it can fit.
gas_price: i32
Defines the price of the gas.
gas_used: i32
Defines how much of the gas for the block has been used.
mined_in_block_height: i32
Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the "Genesis block".
nonce: i32
Represents a random value that can be adjusted to satisfy the Proof of Work.
recipients: Vec<ListZilliqaTransactionsByAddressRiRecipients>
Defines an object array of the transaction recipients.
senders: Vec<ListZilliqaTransactionsByAddressRiSenders>
Represents an object of addresses that provide the funds.
timestamp: i32
Defines the exact date/time when this block was mined in Unix Timestamp.
transaction_hash: String
Represents the hash of the transaction, which is its unique identifier.
transaction_index: i32
Defines the numeric representation of the transaction index.
transaction_status: String
Defines the status of the transaction, whether it is e.g. pending or complete.
Implementations
pub fn new(
fee: GetZilliqaTransactionDetailsByTransactionIdriFee,
gas_limit: i32,
gas_price: i32,
gas_used: i32,
mined_in_block_height: i32,
nonce: i32,
recipients: Vec<ListZilliqaTransactionsByAddressRiRecipients>,
senders: Vec<ListZilliqaTransactionsByAddressRiSenders>,
timestamp: i32,
transaction_hash: String,
transaction_index: i32,
transaction_status: String
) -> ListZilliqaTransactionsByBlockHashRi
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 Send for ListZilliqaTransactionsByBlockHashRi
impl Sync for ListZilliqaTransactionsByBlockHashRi
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more