pub struct PathPaymentStrictSendOperation { /* private fields */ }Implementations§
Source§impl PathPaymentStrictSendOperation
impl PathPaymentStrictSendOperation
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 the operation destination.
Sourcepub fn send_asset(&self) -> &Asset
pub fn send_asset(&self) -> &Asset
Retrieves the operation 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 operation send asset.
Sourcepub fn send_amount(&self) -> &Stroops
pub fn send_amount(&self) -> &Stroops
Retrieves the operation send amount.
Sourcepub fn send_amount_mut(&mut self) -> &mut Stroops
pub fn send_amount_mut(&mut self) -> &mut Stroops
Retrieves a mutable reference to the operation send amount.
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_min(&self) -> &Stroops
pub fn destination_min(&self) -> &Stroops
Retrieves the operation destination min.
Sourcepub fn destination_min_mut(&mut self) -> &mut Stroops
pub fn destination_min_mut(&mut self) -> &mut Stroops
Retrieves a mutable reference to the operation destination min.
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 to the xdr operation body.
Sourcepub fn from_xdr_operation_body(
source_account: Option<MuxedAccount>,
x: &PathPaymentStrictSendOp,
) -> Result<PathPaymentStrictSendOperation>
pub fn from_xdr_operation_body( source_account: Option<MuxedAccount>, x: &PathPaymentStrictSendOp, ) -> Result<PathPaymentStrictSendOperation>
Creates from the xdr operation body.
Trait Implementations§
Source§impl Clone for PathPaymentStrictSendOperation
impl Clone for PathPaymentStrictSendOperation
Source§fn clone(&self) -> PathPaymentStrictSendOperation
fn clone(&self) -> PathPaymentStrictSendOperation
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 PathPaymentStrictSendOperation
impl PartialEq for PathPaymentStrictSendOperation
Source§fn eq(&self, other: &PathPaymentStrictSendOperation) -> bool
fn eq(&self, other: &PathPaymentStrictSendOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PathPaymentStrictSendOperation
impl StructuralPartialEq for PathPaymentStrictSendOperation
Auto Trait Implementations§
impl Freeze for PathPaymentStrictSendOperation
impl RefUnwindSafe for PathPaymentStrictSendOperation
impl Send for PathPaymentStrictSendOperation
impl Sync for PathPaymentStrictSendOperation
impl Unpin for PathPaymentStrictSendOperation
impl UnwindSafe for PathPaymentStrictSendOperation
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