pub struct PathPaymentStrictReceiveOperationBuilder { /* private fields */ }Implementations§
Source§impl PathPaymentStrictReceiveOperationBuilder
impl PathPaymentStrictReceiveOperationBuilder
pub fn new() -> PathPaymentStrictReceiveOperationBuilder
pub fn with_source_account<S>(
self,
source: S,
) -> PathPaymentStrictReceiveOperationBuilderwhere
S: Into<MuxedAccount>,
pub fn with_destination<A>(
self,
destination: A,
) -> PathPaymentStrictReceiveOperationBuilderwhere
A: Into<MuxedAccount>,
pub fn with_send_asset( self, send_asset: Asset, ) -> PathPaymentStrictReceiveOperationBuilder
pub fn with_send_max<A>( self, send_max: A, ) -> Result<PathPaymentStrictReceiveOperationBuilder>
pub fn with_destination_asset( self, dest_asset: Asset, ) -> PathPaymentStrictReceiveOperationBuilder
pub fn with_destination_amount<A>( self, dest_amount: A, ) -> Result<PathPaymentStrictReceiveOperationBuilder>
pub fn add_asset(self, asset: Asset) -> PathPaymentStrictReceiveOperationBuilder
pub fn build(self) -> Result<Operation>
Trait Implementations§
Source§impl Default for PathPaymentStrictReceiveOperationBuilder
impl Default for PathPaymentStrictReceiveOperationBuilder
Source§fn default() -> PathPaymentStrictReceiveOperationBuilder
fn default() -> PathPaymentStrictReceiveOperationBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PathPaymentStrictReceiveOperationBuilder
impl RefUnwindSafe for PathPaymentStrictReceiveOperationBuilder
impl Send for PathPaymentStrictReceiveOperationBuilder
impl Sync for PathPaymentStrictReceiveOperationBuilder
impl Unpin for PathPaymentStrictReceiveOperationBuilder
impl UnwindSafe for PathPaymentStrictReceiveOperationBuilder
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