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