Struct ex3_node_types::package::TransactionPackage
source · pub struct TransactionPackage {
pub id: PackageId,
pub pack: bool,
pub txs: Vec<EncodedTransaction>,
pub balance_changed_records: Vec<(WalletRegisterId, Vec<(AssetId, AmountChange)>)>,
pub timestamp: TimeInNs,
}Fields§
§id: PackageId§pack: bool§txs: Vec<EncodedTransaction>§balance_changed_records: Vec<(WalletRegisterId, Vec<(AssetId, AmountChange)>)>§timestamp: TimeInNsTrait Implementations§
source§impl Clone for TransactionPackage
impl Clone for TransactionPackage
source§fn clone(&self) -> TransactionPackage
fn clone(&self) -> TransactionPackage
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 TransactionPackage
impl Debug for TransactionPackage
source§impl<'de> Deserialize<'de> for TransactionPackage
impl<'de> Deserialize<'de> for TransactionPackage
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 From<EncodeTransactionPackage> for TransactionPackage
impl From<EncodeTransactionPackage> for TransactionPackage
source§fn from(tx_package: EncodeTransactionPackage) -> Self
fn from(tx_package: EncodeTransactionPackage) -> Self
Converts to this type from the input type.
source§impl From<TransactionPackage> for EncodeTransactionPackage
impl From<TransactionPackage> for EncodeTransactionPackage
source§fn from(tx_package: TransactionPackage) -> Self
fn from(tx_package: TransactionPackage) -> Self
Converts to this type from the input type.
source§impl PartialEq<TransactionPackage> for TransactionPackage
impl PartialEq<TransactionPackage> for TransactionPackage
source§fn eq(&self, other: &TransactionPackage) -> bool
fn eq(&self, other: &TransactionPackage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.