Struct shuttle_core::PaymentOperationBuilder
[−]
[src]
pub struct PaymentOperationBuilder { /* fields omitted */ }
PaymentOperation
builder.
Methods
impl PaymentOperationBuilder
[src]
fn new(destination: PublicKey, asset: Asset, amount: Amount) -> Self
[src]
Create payment of amount
units of asset
to destination
address.
fn with_source(self, source: PublicKey) -> Self
[src]
Set the operation source
.
fn build(self) -> Operation
[src]
Return the Operation
.
Trait Implementations
impl Debug for PaymentOperationBuilder
[src]
impl Clone for PaymentOperationBuilder
[src]
fn clone(&self) -> PaymentOperationBuilder
[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