[−][src]Enum stellar_base::operations::RevokeSponsorshipOperation
Variants
Implementations
impl RevokeSponsorshipOperation
[src]
pub fn source_account(&self) -> &Option<MuxedAccount>
[src]
Retrieves the operation source account.
pub fn source_account_mut(&mut self) -> &mut Option<MuxedAccount>
[src]
Retrieves a reference to the operation source account.
pub fn as_ledger_entry(&self) -> Option<&RevokeSponsorshipLedgerEntry>
[src]
If the operation is a LedgerEntry, returns its value. Returns None otherwise.
pub fn as_ledger_entry_mut(
&mut self
) -> Option<&mut RevokeSponsorshipLedgerEntry>
[src]
&mut self
) -> Option<&mut RevokeSponsorshipLedgerEntry>
If the operation is a LedgerEntry, returns its value. Returns None otherwise.
pub fn is_ledger_entry(&self) -> bool
[src]
Returns true if the operation is a LedgerEntry.
pub fn as_signer(&self) -> Option<&RevokeSponsorshipSigner>
[src]
If the operation is a Signer, returns its value. Returns None otherwise.
pub fn as_signer_mut(&mut self) -> Option<&mut RevokeSponsorshipSigner>
[src]
If the operation is a Signer, returns its value. Returns None otherwise.
pub fn is_signer(&self) -> bool
[src]
Returns true if the operation is a Signer.
pub fn to_xdr_operation_body(&self) -> Result<OperationBody>
[src]
Returns tho xdr operation body.
pub fn from_xdr_operation_body(
source_account: Option<MuxedAccount>,
x: &RevokeSponsorshipOp
) -> Result<RevokeSponsorshipOperation>
[src]
source_account: Option<MuxedAccount>,
x: &RevokeSponsorshipOp
) -> Result<RevokeSponsorshipOperation>
Creates from the xdr operation body.
Trait Implementations
impl Clone for RevokeSponsorshipOperation
[src]
pub fn clone(&self) -> RevokeSponsorshipOperation
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RevokeSponsorshipOperation
[src]
impl Eq for RevokeSponsorshipOperation
[src]
impl PartialEq<RevokeSponsorshipOperation> for RevokeSponsorshipOperation
[src]
pub fn eq(&self, other: &RevokeSponsorshipOperation) -> bool
[src]
pub fn ne(&self, other: &RevokeSponsorshipOperation) -> bool
[src]
impl StructuralEq for RevokeSponsorshipOperation
[src]
impl StructuralPartialEq for RevokeSponsorshipOperation
[src]
Auto Trait Implementations
impl RefUnwindSafe for RevokeSponsorshipOperation
[src]
impl Send for RevokeSponsorshipOperation
[src]
impl Sync for RevokeSponsorshipOperation
[src]
impl Unpin for RevokeSponsorshipOperation
[src]
impl UnwindSafe for RevokeSponsorshipOperation
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,