pub struct PaymentOperationBuilder { /* private fields */ }Implementations§
Source§impl PaymentOperationBuilder
impl PaymentOperationBuilder
pub fn new() -> PaymentOperationBuilder
pub fn with_source_account<S>(self, source: S) -> PaymentOperationBuilderwhere
S: Into<MuxedAccount>,
pub fn with_destination<A>(self, destination: A) -> PaymentOperationBuilderwhere
A: Into<MuxedAccount>,
pub fn with_amount<B>(self, amount: B) -> Result<PaymentOperationBuilder>
pub fn with_asset(self, asset: Asset) -> PaymentOperationBuilder
pub fn build(self) -> Result<Operation>
Trait Implementations§
Source§impl Debug for PaymentOperationBuilder
impl Debug for PaymentOperationBuilder
Source§impl Default for PaymentOperationBuilder
impl Default for PaymentOperationBuilder
Source§fn default() -> PaymentOperationBuilder
fn default() -> PaymentOperationBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PaymentOperationBuilder
impl RefUnwindSafe for PaymentOperationBuilder
impl Send for PaymentOperationBuilder
impl Sync for PaymentOperationBuilder
impl Unpin for PaymentOperationBuilder
impl UnwindSafe for PaymentOperationBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more