Struct shuttle_core::PaymentOperation [] [src]

pub struct PaymentOperation {
    pub source: Option<PublicKey>,
    pub destination: PublicKey,
    pub asset: Asset,
    pub amount: Amount,
}

Payment operation.

Fields

The source account for the operation.

The destination account id.

The asset to send.

The amount to send.

Trait Implementations

impl Debug for PaymentOperation
[src]

[src]

Formats the value using the given formatter.

impl Clone for PaymentOperation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for PaymentOperation
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for PaymentOperation
[src]