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