#[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
impl StructuralPartialEq for TransactionOutputItem
Auto Trait Implementations§
impl Freeze for TransactionOutputItem
impl RefUnwindSafe for TransactionOutputItem
impl Send for TransactionOutputItem
impl Sync for TransactionOutputItem
impl Unpin for TransactionOutputItem
impl UnwindSafe for TransactionOutputItem
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more