Struct shuttle_core::PathPaymentOperation [] [src]

pub struct PathPaymentOperation {
    pub source: Option<PublicKey>,
    pub destination: PublicKey,
    pub send_asset: Asset,
    pub send_max: Amount,
    pub dest_asset: Asset,
    pub dest_amount: Amount,
    pub path: Vec<Asset>,
}

Send the specified asset to the destination account, optionally through a path.

Fields

The source account for the operation.

The destination account id.

The asset to pay with.

The maximum amount of send_asset to send.

The asset the destination will receive.

The amount the destination receives.

The assets path.

Trait Implementations

impl Debug for PathPaymentOperation
[src]

[src]

Formats the value using the given formatter.

impl Clone for PathPaymentOperation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for PathPaymentOperation
[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 PathPaymentOperation
[src]