Struct cryptoapis::models::list_zilliqa_transactions_by_address_ri::ListZilliqaTransactionsByAddressRi [−][src]
pub struct ListZilliqaTransactionsByAddressRi {Show 13 fields
pub fee: Box<GetZilliqaTransactionDetailsByTransactionIdriFee>,
pub gas_limit: i32,
pub gas_price: i32,
pub gas_used: i32,
pub mined_in_block_hash: String,
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_hash: String
Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.
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_hash: String,
mined_in_block_height: i32,
nonce: i32,
recipients: Vec<ListZilliqaTransactionsByAddressRiRecipients>,
senders: Vec<ListZilliqaTransactionsByAddressRiSenders>,
timestamp: i32,
transaction_hash: String,
transaction_index: i32,
transaction_status: String
) -> ListZilliqaTransactionsByAddressRi
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 ListZilliqaTransactionsByAddressRi
impl Sync for ListZilliqaTransactionsByAddressRi
impl Unpin for ListZilliqaTransactionsByAddressRi
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