Struct fractal_dto::v1::transactions::GenerateTransactionDTO [] [src]

pub struct GenerateTransactionDTO {
    pub origin_id: u64,
    pub destination_address: WalletAddress,
    pub destination_id: u64,
    pub amount: Amount,
}

Struct used to generate a transaction.

Fields

Where the transaction originated.

The destination wallet address of the transaction.

Who the transaction is going to.

The amount of the transaction.

Trait Implementations

impl Clone for GenerateTransactionDTO
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for GenerateTransactionDTO
[src]

Serialize a value using an Encoder.

impl Decodable for GenerateTransactionDTO
[src]

Deserialize a value using a Decoder.

impl DTO for GenerateTransactionDTO
[src]