pub struct RelatedTransaction {
pub network_identifier: Option<NetworkIdentifier>,
pub transaction_identifier: TransactionIdentifier,
pub direction: Direction,
}
Expand description
RelatedTransaction : The related_transaction allows implementations to link together multiple transactions. An unpopulated network identifier indicates that the related transaction is on the same network.
Fields§
§network_identifier: Option<NetworkIdentifier>
§transaction_identifier: TransactionIdentifier
§direction: Direction
Implementations§
source§impl RelatedTransaction
impl RelatedTransaction
sourcepub fn new(
transaction_identifier: TransactionIdentifier,
direction: Direction
) -> RelatedTransaction
pub fn new( transaction_identifier: TransactionIdentifier, direction: Direction ) -> RelatedTransaction
The related_transaction allows implementations to link together multiple transactions. An unpopulated network identifier indicates that the related transaction is on the same network.
Trait Implementations§
source§impl Clone for RelatedTransaction
impl Clone for RelatedTransaction
source§fn clone(&self) -> RelatedTransaction
fn clone(&self) -> RelatedTransaction
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 RelatedTransaction
impl Debug for RelatedTransaction
source§impl Default for RelatedTransaction
impl Default for RelatedTransaction
source§fn default() -> RelatedTransaction
fn default() -> RelatedTransaction
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RelatedTransaction
impl<'de> Deserialize<'de> for RelatedTransaction
source§fn 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
source§impl PartialEq<RelatedTransaction> for RelatedTransaction
impl PartialEq<RelatedTransaction> for RelatedTransaction
source§fn eq(&self, other: &RelatedTransaction) -> bool
fn eq(&self, other: &RelatedTransaction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RelatedTransaction
impl Serialize for RelatedTransaction
impl Eq for RelatedTransaction
impl StructuralEq for RelatedTransaction
impl StructuralPartialEq for RelatedTransaction
Auto Trait Implementations§
impl RefUnwindSafe for RelatedTransaction
impl Send for RelatedTransaction
impl Sync for RelatedTransaction
impl Unpin for RelatedTransaction
impl UnwindSafe for RelatedTransaction
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