Struct cryptoapis::models::get_zilliqa_transaction_details_by_transaction_idri::GetZilliqaTransactionDetailsByTransactionIdri
source · [−]pub struct GetZilliqaTransactionDetailsByTransactionIdri {
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<GetZilliqaTransactionDetailsByTransactionIdriRecipients>,
pub senders: Vec<GetZilliqaTransactionDetailsByTransactionIdriSenders>,
pub timestamp: i32,
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.
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 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.
recipients: Vec<GetZilliqaTransactionDetailsByTransactionIdriRecipients>
Represents an object of addresses that receive the transactions.
senders: Vec<GetZilliqaTransactionDetailsByTransactionIdriSenders>
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_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
sourceimpl GetZilliqaTransactionDetailsByTransactionIdri
impl GetZilliqaTransactionDetailsByTransactionIdri
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<GetZilliqaTransactionDetailsByTransactionIdriRecipients>,
senders: Vec<GetZilliqaTransactionDetailsByTransactionIdriSenders>,
timestamp: i32,
transaction_index: i32,
transaction_status: String
) -> GetZilliqaTransactionDetailsByTransactionIdri
Trait Implementations
sourceimpl Clone for GetZilliqaTransactionDetailsByTransactionIdri
impl Clone for GetZilliqaTransactionDetailsByTransactionIdri
sourcefn clone(&self) -> GetZilliqaTransactionDetailsByTransactionIdri
fn clone(&self) -> GetZilliqaTransactionDetailsByTransactionIdri
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'de> Deserialize<'de> for GetZilliqaTransactionDetailsByTransactionIdri
impl<'de> Deserialize<'de> for GetZilliqaTransactionDetailsByTransactionIdri
sourcefn 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
sourceimpl PartialEq<GetZilliqaTransactionDetailsByTransactionIdri> for GetZilliqaTransactionDetailsByTransactionIdri
impl PartialEq<GetZilliqaTransactionDetailsByTransactionIdri> for GetZilliqaTransactionDetailsByTransactionIdri
sourcefn eq(&self, other: &GetZilliqaTransactionDetailsByTransactionIdri) -> bool
fn eq(&self, other: &GetZilliqaTransactionDetailsByTransactionIdri) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for GetZilliqaTransactionDetailsByTransactionIdri
Auto Trait Implementations
impl RefUnwindSafe for GetZilliqaTransactionDetailsByTransactionIdri
impl Send for GetZilliqaTransactionDetailsByTransactionIdri
impl Sync for GetZilliqaTransactionDetailsByTransactionIdri
impl Unpin for GetZilliqaTransactionDetailsByTransactionIdri
impl UnwindSafe for GetZilliqaTransactionDetailsByTransactionIdri
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more