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

The id of the transaction.

The origin of the transaction.

The destination of the transaction.

The destination address of the transaction.

The amount of the transaction.

The timestamp of the transaction.

Trait Implementations

impl Clone for TransactionDTO
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for TransactionDTO
[src]

impl Decodable for TransactionDTO
[src]

impl DTO for TransactionDTO
[src]