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