#[non_exhaustive]pub struct TransactionOutputItem {
pub transaction_hash: String,
pub transaction_id: Option<String>,
pub network: QueryNetwork,
pub transaction_timestamp: DateTime,
pub confirmation_status: Option<ConfirmationStatus>,
}
Expand description
The container of the transaction output.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.transaction_hash: String
The hash of a transaction. It is generated when a transaction is created.
transaction_id: Option<String>
The identifier of a Bitcoin transaction. It is generated when a transaction is created.
network: QueryNetwork
The blockchain network where the transaction occurred.
transaction_timestamp: DateTime
The time when the transaction occurred.
confirmation_status: Option<ConfirmationStatus>
Specifies whether to list transactions that have not reached Finality.
Implementations§
source§impl TransactionOutputItem
impl TransactionOutputItem
sourcepub fn transaction_hash(&self) -> &str
pub fn transaction_hash(&self) -> &str
The hash of a transaction. It is generated when a transaction is created.
sourcepub fn transaction_id(&self) -> Option<&str>
pub fn transaction_id(&self) -> Option<&str>
The identifier of a Bitcoin transaction. It is generated when a transaction is created.
sourcepub fn network(&self) -> &QueryNetwork
pub fn network(&self) -> &QueryNetwork
The blockchain network where the transaction occurred.
sourcepub fn transaction_timestamp(&self) -> &DateTime
pub fn transaction_timestamp(&self) -> &DateTime
The time when the transaction occurred.
sourcepub fn confirmation_status(&self) -> Option<&ConfirmationStatus>
pub fn confirmation_status(&self) -> Option<&ConfirmationStatus>
Specifies whether to list transactions that have not reached Finality.
source§impl TransactionOutputItem
impl TransactionOutputItem
sourcepub fn builder() -> TransactionOutputItemBuilder
pub fn builder() -> TransactionOutputItemBuilder
Creates a new builder-style object to manufacture TransactionOutputItem
.
Trait Implementations§
source§impl Clone for TransactionOutputItem
impl Clone for TransactionOutputItem
source§fn clone(&self) -> TransactionOutputItem
fn clone(&self) -> TransactionOutputItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TransactionOutputItem
impl Debug for TransactionOutputItem
source§impl PartialEq for TransactionOutputItem
impl PartialEq for TransactionOutputItem
source§fn eq(&self, other: &TransactionOutputItem) -> bool
fn eq(&self, other: &TransactionOutputItem) -> bool
self
and other
values to be equal, and is used
by ==
.