Struct cryptoapis::models::get_wallet_transaction_details_by_transaction_idri::GetWalletTransactionDetailsByTransactionIdri
source · [−]pub struct GetWalletTransactionDetailsByTransactionIdri {
pub index: i32,
pub is_confirmed: bool,
pub mined_in_block_hash: Option<String>,
pub mined_in_block_height: Option<i32>,
pub recipients: String,
pub senders: String,
pub timestamp: i32,
pub transaction_hash: String,
pub transaction_id: String,
pub fee: Box<GetWalletTransactionDetailsByTransactionIdriFee>,
pub blockchain_specific: Box<GetWalletTransactionDetailsByTransactionIdribs>,
}
Fields
index: i32
Represents the index position of the transaction in the specific block.
is_confirmed: bool
Represents the state of the transaction whether it is confirmed or not confirmed.
mined_in_block_hash: Option<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: Option<i32>
Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block.
recipients: String
String representation of the transaction to address
senders: String
String representation of the transaction from address
timestamp: i32
Defines the exact date/time in Unix Timestamp when this transaction was mined, confirmed or first seen in Mempool, if it is unconfirmed.
transaction_hash: String
Represents the same as transactionId
for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols hash
is different from transactionId
for SegWit transactions.
transaction_id: String
Represents the unique identifier of a transaction, i.e. it could be transactionId
in UTXO-based protocols like Bitcoin, and transaction hash
in Ethereum blockchain.
fee: Box<GetWalletTransactionDetailsByTransactionIdriFee>
blockchain_specific: Box<GetWalletTransactionDetailsByTransactionIdribs>
Implementations
sourceimpl GetWalletTransactionDetailsByTransactionIdri
impl GetWalletTransactionDetailsByTransactionIdri
pub fn new(
index: i32,
is_confirmed: bool,
recipients: String,
senders: String,
timestamp: i32,
transaction_hash: String,
transaction_id: String,
fee: GetWalletTransactionDetailsByTransactionIdriFee,
blockchain_specific: GetWalletTransactionDetailsByTransactionIdribs
) -> GetWalletTransactionDetailsByTransactionIdri
Trait Implementations
sourceimpl Clone for GetWalletTransactionDetailsByTransactionIdri
impl Clone for GetWalletTransactionDetailsByTransactionIdri
sourcefn clone(&self) -> GetWalletTransactionDetailsByTransactionIdri
fn clone(&self) -> GetWalletTransactionDetailsByTransactionIdri
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 GetWalletTransactionDetailsByTransactionIdri
impl<'de> Deserialize<'de> for GetWalletTransactionDetailsByTransactionIdri
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<GetWalletTransactionDetailsByTransactionIdri> for GetWalletTransactionDetailsByTransactionIdri
impl PartialEq<GetWalletTransactionDetailsByTransactionIdri> for GetWalletTransactionDetailsByTransactionIdri
sourcefn eq(&self, other: &GetWalletTransactionDetailsByTransactionIdri) -> bool
fn eq(&self, other: &GetWalletTransactionDetailsByTransactionIdri) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for GetWalletTransactionDetailsByTransactionIdri
Auto Trait Implementations
impl RefUnwindSafe for GetWalletTransactionDetailsByTransactionIdri
impl Send for GetWalletTransactionDetailsByTransactionIdri
impl Sync for GetWalletTransactionDetailsByTransactionIdri
impl Unpin for GetWalletTransactionDetailsByTransactionIdri
impl UnwindSafe for GetWalletTransactionDetailsByTransactionIdri
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