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
source: Option<PublicKey>
The source account for the operation.
destination: PublicKey
The destination account id.
send_asset: Asset
The asset to pay with.
send_max: Amount
The maximum amount of send_asset to send.
dest_asset: Asset
The asset the destination will receive.
dest_amount: Amount
The amount the destination receives.
path: Vec<Asset>
The assets path.
Trait Implementations
impl Debug for PathPaymentOperation
[src]
impl Clone for PathPaymentOperation
[src]
fn clone(&self) -> PathPaymentOperation
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for PathPaymentOperation
[src]
fn eq(&self, __arg_0: &PathPaymentOperation) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PathPaymentOperation) -> bool
[src]
This method tests for !=
.