pub struct ClaimClaimableBalanceOperation { /* private fields */ }Implementations§
Source§impl ClaimClaimableBalanceOperation
impl ClaimClaimableBalanceOperation
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 balance_id(&self) -> &ClaimableBalanceId
pub fn balance_id(&self) -> &ClaimableBalanceId
Retrieves a reference to the claimable balance id.
Sourcepub fn balance_id_mut(&mut self) -> &mut ClaimableBalanceId
pub fn balance_id_mut(&mut self) -> &mut ClaimableBalanceId
Retrieves a mutable reference to the claimable balance id.
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: &ClaimClaimableBalanceOp,
) -> Result<ClaimClaimableBalanceOperation>
pub fn from_xdr_operation_body( source_account: Option<MuxedAccount>, x: &ClaimClaimableBalanceOp, ) -> Result<ClaimClaimableBalanceOperation>
Creates from the xdr operation body.
Trait Implementations§
Source§impl Clone for ClaimClaimableBalanceOperation
impl Clone for ClaimClaimableBalanceOperation
Source§fn clone(&self) -> ClaimClaimableBalanceOperation
fn clone(&self) -> ClaimClaimableBalanceOperation
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 ClaimClaimableBalanceOperation
impl PartialEq for ClaimClaimableBalanceOperation
Source§fn eq(&self, other: &ClaimClaimableBalanceOperation) -> bool
fn eq(&self, other: &ClaimClaimableBalanceOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ClaimClaimableBalanceOperation
impl StructuralPartialEq for ClaimClaimableBalanceOperation
Auto Trait Implementations§
impl Freeze for ClaimClaimableBalanceOperation
impl RefUnwindSafe for ClaimClaimableBalanceOperation
impl Send for ClaimClaimableBalanceOperation
impl Sync for ClaimClaimableBalanceOperation
impl Unpin for ClaimClaimableBalanceOperation
impl UnwindSafe for ClaimClaimableBalanceOperation
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