pub struct ChangeTrustOperation { /* private fields */ }Implementations§
Source§impl ChangeTrustOperation
impl ChangeTrustOperation
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 asset_mut(&mut self) -> &mut ChangeTrustAsset
pub fn asset_mut(&mut self) -> &mut ChangeTrustAsset
Retrieves a mutable reference the operation asset.
Sourcepub fn limit_mut(&mut self) -> &mut Option<Stroops>
pub fn limit_mut(&mut self) -> &mut Option<Stroops>
Retrieves a mutable reference to the operation limit.
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: &ChangeTrustOp,
) -> Result<ChangeTrustOperation>
pub fn from_xdr_operation_body( source_account: Option<MuxedAccount>, x: &ChangeTrustOp, ) -> Result<ChangeTrustOperation>
Creates from the xdr operation body.
Trait Implementations§
Source§impl Clone for ChangeTrustOperation
impl Clone for ChangeTrustOperation
Source§fn clone(&self) -> ChangeTrustOperation
fn clone(&self) -> ChangeTrustOperation
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 ChangeTrustOperation
impl Debug for ChangeTrustOperation
Source§impl PartialEq for ChangeTrustOperation
impl PartialEq for ChangeTrustOperation
impl Eq for ChangeTrustOperation
impl StructuralPartialEq for ChangeTrustOperation
Auto Trait Implementations§
impl Freeze for ChangeTrustOperation
impl RefUnwindSafe for ChangeTrustOperation
impl Send for ChangeTrustOperation
impl Sync for ChangeTrustOperation
impl Unpin for ChangeTrustOperation
impl UnwindSafe for ChangeTrustOperation
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