Struct cryptoapis::models::list_zilliqa_transactions_by_block_height_ri::ListZilliqaTransactionsByBlockHeightRi [−][src]
pub struct ListZilliqaTransactionsByBlockHeightRi { pub fee: Box<GetZilliqaTransactionDetailsByTransactionIdriFee>, pub gas_limit: i32, pub gas_price: i32, pub gas_used: i32, pub mined_in_block_hash: String, 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_hash: String
Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.
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_hash: String,
nonce: i32,
recipients: Vec<ListZilliqaTransactionsByAddressRiRecipients>,
senders: Vec<ListZilliqaTransactionsByAddressRiSenders>,
timestamp: i32,
transaction_hash: String,
transaction_index: i32,
transaction_status: String
) -> ListZilliqaTransactionsByBlockHeightRi
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