pub struct ClawbackOperation { /* private fields */ }Implementations§
Source§impl ClawbackOperation
impl ClawbackOperation
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.
pub fn asset(&self) -> &Asset
pub fn asset_mut(&mut self) -> &mut Asset
pub fn from(&self) -> &MuxedAccount
pub fn from_mut(&mut self) -> &mut MuxedAccount
pub fn amount(&self) -> &Stroops
pub fn amount_mut(&mut self) -> &mut Stroops
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: &ClawbackOp,
) -> Result<Self>
pub fn from_xdr_operation_body( source_account: Option<MuxedAccount>, x: &ClawbackOp, ) -> Result<Self>
Creates from the xdr operation body.
Trait Implementations§
Source§impl Clone for ClawbackOperation
impl Clone for ClawbackOperation
Source§fn clone(&self) -> ClawbackOperation
fn clone(&self) -> ClawbackOperation
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 ClawbackOperation
impl Debug for ClawbackOperation
Source§impl PartialEq for ClawbackOperation
impl PartialEq for ClawbackOperation
impl Eq for ClawbackOperation
impl StructuralPartialEq for ClawbackOperation
Auto Trait Implementations§
impl Freeze for ClawbackOperation
impl RefUnwindSafe for ClawbackOperation
impl Send for ClawbackOperation
impl Sync for ClawbackOperation
impl Unpin for ClawbackOperation
impl UnwindSafe for ClawbackOperation
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