pub struct PathPaymentStrictReceiveOperation { /* private fields */ }Implementations§
Source§impl PathPaymentStrictReceiveOperation
impl PathPaymentStrictReceiveOperation
Sourcepub fn source_account(&self) -> &Option<MuxedAccount>
pub fn source_account(&self) -> &Option<MuxedAccount>
Retrieves the operation source account.
Sourcepub fn source_account_mut(&mut self) -> &mut Option<MuxedAccount>
pub fn source_account_mut(&mut self) -> &mut Option<MuxedAccount>
Retrieves a reference to the operation source account.
Sourcepub fn destination(&self) -> &MuxedAccount
pub fn destination(&self) -> &MuxedAccount
Retrieves the operation destination.
Sourcepub fn destination_mut(&mut self) -> &mut MuxedAccount
pub fn destination_mut(&mut self) -> &mut MuxedAccount
Retrieves a mutable reference to the operation destination.
Sourcepub fn send_asset(&self) -> &Asset
pub fn send_asset(&self) -> &Asset
Retrieves the operatino send asset.
Sourcepub fn send_asset_mut(&mut self) -> &mut Asset
pub fn send_asset_mut(&mut self) -> &mut Asset
Retrieves a mutable reference to the operatino send asset.
Sourcepub fn send_max_mut(&mut self) -> &mut Stroops
pub fn send_max_mut(&mut self) -> &mut Stroops
Retrieves a mutable reference to the operation send max.
Sourcepub fn destination_asset(&self) -> &Asset
pub fn destination_asset(&self) -> &Asset
Retrieves the operation destination asset.
Sourcepub fn destination_asset_mut(&mut self) -> &mut Asset
pub fn destination_asset_mut(&mut self) -> &mut Asset
Retrieves a mutable reference to the operation destination asset.
Sourcepub fn destination_amount(&self) -> &Stroops
pub fn destination_amount(&self) -> &Stroops
Retrieves the operation destination amount.
Sourcepub fn destination_amount_mut(&mut self) -> &mut Stroops
pub fn destination_amount_mut(&mut self) -> &mut Stroops
Retrieves a mutable reference to the operation destination amount.
Sourcepub fn path_mut(&mut self) -> &mut Vec<Asset>
pub fn path_mut(&mut self) -> &mut Vec<Asset>
Retrieves a mutable reference to the operation path.
Sourcepub fn to_xdr_operation_body(&self) -> Result<OperationBody>
pub fn to_xdr_operation_body(&self) -> Result<OperationBody>
Returns the xdr operation body.
Sourcepub fn from_xdr_operation_body(
source_account: Option<MuxedAccount>,
x: &PathPaymentStrictReceiveOp,
) -> Result<PathPaymentStrictReceiveOperation>
pub fn from_xdr_operation_body( source_account: Option<MuxedAccount>, x: &PathPaymentStrictReceiveOp, ) -> Result<PathPaymentStrictReceiveOperation>
Creates from the xdr operation body.
Trait Implementations§
Source§impl Clone for PathPaymentStrictReceiveOperation
impl Clone for PathPaymentStrictReceiveOperation
Source§fn clone(&self) -> PathPaymentStrictReceiveOperation
fn clone(&self) -> PathPaymentStrictReceiveOperation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for PathPaymentStrictReceiveOperation
impl PartialEq for PathPaymentStrictReceiveOperation
Source§fn eq(&self, other: &PathPaymentStrictReceiveOperation) -> bool
fn eq(&self, other: &PathPaymentStrictReceiveOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PathPaymentStrictReceiveOperation
impl StructuralPartialEq for PathPaymentStrictReceiveOperation
Auto Trait Implementations§
impl Freeze for PathPaymentStrictReceiveOperation
impl RefUnwindSafe for PathPaymentStrictReceiveOperation
impl Send for PathPaymentStrictReceiveOperation
impl Sync for PathPaymentStrictReceiveOperation
impl Unpin for PathPaymentStrictReceiveOperation
impl UnwindSafe for PathPaymentStrictReceiveOperation
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