pub struct AccountMergeOperation { /* private fields */ }Implementations§
Source§impl AccountMergeOperation
impl AccountMergeOperation
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
Retrieve the operation destination.
Sourcepub fn destination_mut(&mut self) -> &mut MuxedAccount
pub fn destination_mut(&mut self) -> &mut MuxedAccount
Retrieve the operation destination.
Sourcepub fn to_xdr_operation_body(&self) -> Result<OperationBody>
pub fn to_xdr_operation_body(&self) -> Result<OperationBody>
Returns tho xdr operation body.
Sourcepub fn from_xdr_operation_body(
source_account: Option<MuxedAccount>,
x: &MuxedAccount,
) -> Result<AccountMergeOperation>
pub fn from_xdr_operation_body( source_account: Option<MuxedAccount>, x: &MuxedAccount, ) -> Result<AccountMergeOperation>
Creates from the xdr operation body.
Trait Implementations§
Source§impl Clone for AccountMergeOperation
impl Clone for AccountMergeOperation
Source§fn clone(&self) -> AccountMergeOperation
fn clone(&self) -> AccountMergeOperation
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 Debug for AccountMergeOperation
impl Debug for AccountMergeOperation
Source§impl PartialEq for AccountMergeOperation
impl PartialEq for AccountMergeOperation
impl Eq for AccountMergeOperation
impl StructuralPartialEq for AccountMergeOperation
Auto Trait Implementations§
impl Freeze for AccountMergeOperation
impl RefUnwindSafe for AccountMergeOperation
impl Send for AccountMergeOperation
impl Sync for AccountMergeOperation
impl Unpin for AccountMergeOperation
impl UnwindSafe for AccountMergeOperation
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