Struct fractal_dto::v1::transactions::TransactionDTO
[−]
[src]
pub struct TransactionDTO { pub transaction_id: u64, pub origin_user: ProfileDTO, pub destination_user: ProfileDTO, pub destination_address: WalletAddress, pub amount: Amount, pub timestamp: DateTime<UTC>, }
Struct for tansactions.
Fields
transaction_id: u64
The id of the transaction.
origin_user: ProfileDTO
The origin of the transaction.
destination_user: ProfileDTO
The destination of the transaction.
destination_address: WalletAddress
The destination address of the transaction.
amount: Amount
The amount of the transaction.
timestamp: DateTime<UTC>
The timestamp of the transaction.
Trait Implementations
impl Clone for TransactionDTO
[src]
fn clone(&self) -> TransactionDTO
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more