Struct shuttle_core::PaymentOperation
[−]
[src]
pub struct PaymentOperation { pub source: Option<PublicKey>, pub destination: PublicKey, pub asset: Asset, pub amount: Amount, }
Payment operation.
Fields
source: Option<PublicKey>
The source account for the operation.
destination: PublicKey
The destination account id.
asset: Asset
The asset to send.
amount: Amount
The amount to send.
Trait Implementations
impl Debug for PaymentOperation
[src]
impl Clone for PaymentOperation
[src]
fn clone(&self) -> PaymentOperation
[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 PaymentOperation
[src]
fn eq(&self, __arg_0: &PaymentOperation) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PaymentOperation) -> bool
[src]
This method tests for !=
.