#[non_exhaustive]pub struct TransactionOutputItemBuilder { /* private fields */ }
Expand description
A builder for TransactionOutputItem
.
Implementations§
source§impl TransactionOutputItemBuilder
impl TransactionOutputItemBuilder
sourcepub fn transaction_hash(self, input: impl Into<String>) -> Self
pub fn transaction_hash(self, input: impl Into<String>) -> Self
The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
sourcepub fn set_transaction_hash(self, input: Option<String>) -> Self
pub fn set_transaction_hash(self, input: Option<String>) -> Self
The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
sourcepub fn get_transaction_hash(&self) -> &Option<String>
pub fn get_transaction_hash(&self) -> &Option<String>
The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
sourcepub fn network(self, input: QueryNetwork) -> Self
pub fn network(self, input: QueryNetwork) -> Self
The blockchain network where the transaction occurred.
sourcepub fn set_network(self, input: Option<QueryNetwork>) -> Self
pub fn set_network(self, input: Option<QueryNetwork>) -> Self
The blockchain network where the transaction occurred.
sourcepub fn get_network(&self) -> &Option<QueryNetwork>
pub fn get_network(&self) -> &Option<QueryNetwork>
The blockchain network where the transaction occurred.
sourcepub fn transaction_timestamp(self, input: DateTime) -> Self
pub fn transaction_timestamp(self, input: DateTime) -> Self
The time when the transaction occurred.
sourcepub fn set_transaction_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_transaction_timestamp(self, input: Option<DateTime>) -> Self
The time when the transaction occurred.
sourcepub fn get_transaction_timestamp(&self) -> &Option<DateTime>
pub fn get_transaction_timestamp(&self) -> &Option<DateTime>
The time when the transaction occurred.
sourcepub fn build(self) -> TransactionOutputItem
pub fn build(self) -> TransactionOutputItem
Consumes the builder and constructs a TransactionOutputItem
.
Trait Implementations§
source§impl Clone for TransactionOutputItemBuilder
impl Clone for TransactionOutputItemBuilder
source§fn clone(&self) -> TransactionOutputItemBuilder
fn clone(&self) -> TransactionOutputItemBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TransactionOutputItemBuilder
impl Debug for TransactionOutputItemBuilder
source§impl Default for TransactionOutputItemBuilder
impl Default for TransactionOutputItemBuilder
source§fn default() -> TransactionOutputItemBuilder
fn default() -> TransactionOutputItemBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TransactionOutputItemBuilder> for TransactionOutputItemBuilder
impl PartialEq<TransactionOutputItemBuilder> for TransactionOutputItemBuilder
source§fn eq(&self, other: &TransactionOutputItemBuilder) -> bool
fn eq(&self, other: &TransactionOutputItemBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransactionOutputItemBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TransactionOutputItemBuilder
impl Send for TransactionOutputItemBuilder
impl Sync for TransactionOutputItemBuilder
impl Unpin for TransactionOutputItemBuilder
impl UnwindSafe for TransactionOutputItemBuilder
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
Mutably borrows from an owned value. Read more