#[repr(i32)]pub enum RevokeSponsorshipType {
LedgerEntry = 0,
Signer = 1,
}Expand description
RevokeSponsorshipType is an XDR Enum defines as:
enum RevokeSponsorshipType
{
REVOKE_SPONSORSHIP_LEDGER_ENTRY = 0,
REVOKE_SPONSORSHIP_SIGNER = 1
};Variants§
Implementations§
Source§impl RevokeSponsorshipType
impl RevokeSponsorshipType
pub const VARIANTS: [RevokeSponsorshipType; 2]
pub const VARIANTS_STR: [&'static str; 2]
pub const fn name(&self) -> &'static str
pub const fn variants() -> [RevokeSponsorshipType; 2]
Trait Implementations§
Source§impl Clone for RevokeSponsorshipType
impl Clone for RevokeSponsorshipType
Source§fn clone(&self) -> RevokeSponsorshipType
fn clone(&self) -> RevokeSponsorshipType
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 RevokeSponsorshipType
impl Debug for RevokeSponsorshipType
Source§impl Default for RevokeSponsorshipType
impl Default for RevokeSponsorshipType
Source§fn default() -> RevokeSponsorshipType
fn default() -> RevokeSponsorshipType
Returns the “default value” for a type. Read more
Source§impl Discriminant<RevokeSponsorshipType> for RevokeSponsorshipOp
impl Discriminant<RevokeSponsorshipType> for RevokeSponsorshipOp
fn discriminant(&self) -> RevokeSponsorshipType
Source§impl Display for RevokeSponsorshipType
impl Display for RevokeSponsorshipType
Source§impl Hash for RevokeSponsorshipType
impl Hash for RevokeSponsorshipType
Source§impl Ord for RevokeSponsorshipType
impl Ord for RevokeSponsorshipType
Source§fn cmp(&self, other: &RevokeSponsorshipType) -> Ordering
fn cmp(&self, other: &RevokeSponsorshipType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RevokeSponsorshipType
impl PartialEq for RevokeSponsorshipType
Source§impl PartialOrd for RevokeSponsorshipType
impl PartialOrd for RevokeSponsorshipType
Source§impl ReadXdr for RevokeSponsorshipType
impl ReadXdr for RevokeSponsorshipType
Source§fn read_xdr<R>(r: &mut Limited<R>) -> Result<RevokeSponsorshipType, Error>where
R: Read,
fn read_xdr<R>(r: &mut Limited<R>) -> Result<RevokeSponsorshipType, Error>where
R: Read,
Read the XDR and construct the type. Read more
Source§fn read_xdr_to_end<R>(r: &mut Limited<R>) -> Result<Self, Error>where
R: Read,
fn read_xdr_to_end<R>(r: &mut Limited<R>) -> Result<Self, Error>where
R: Read,
Read the XDR and construct the type, and consider it an error if the
read does not completely consume the read implementation. Read more
Source§fn read_xdr_into<R>(&mut self, r: &mut Limited<R>) -> Result<(), Error>where
R: Read,
fn read_xdr_into<R>(&mut self, r: &mut Limited<R>) -> Result<(), Error>where
R: Read,
Read the XDR and construct the type. Read more
Source§fn read_xdr_into_to_end<R>(&mut self, r: &mut Limited<R>) -> Result<(), Error>where
R: Read,
fn read_xdr_into_to_end<R>(&mut self, r: &mut Limited<R>) -> Result<(), Error>where
R: Read,
Read the XDR into the existing value, and consider it an error if the
read does not completely consume the read implementation. Read more
Source§fn read_xdr_iter<R>(r: &mut Limited<R>) -> ReadXdrIter<&mut R, Self> ⓘwhere
R: Read,
fn read_xdr_iter<R>(r: &mut Limited<R>) -> ReadXdrIter<&mut R, Self> ⓘwhere
R: Read,
Create an iterator that reads the read implementation as a stream of
values that are read into the implementing type. Read more
Source§impl TryFrom<i32> for RevokeSponsorshipType
impl TryFrom<i32> for RevokeSponsorshipType
Source§impl Variants<RevokeSponsorshipType> for RevokeSponsorshipOp
impl Variants<RevokeSponsorshipType> for RevokeSponsorshipOp
fn variants() -> Iter<'static, RevokeSponsorshipType>
Source§impl Variants<RevokeSponsorshipType> for RevokeSponsorshipType
impl Variants<RevokeSponsorshipType> for RevokeSponsorshipType
fn variants() -> Iter<'static, RevokeSponsorshipType>
Source§impl WriteXdr for RevokeSponsorshipType
impl WriteXdr for RevokeSponsorshipType
impl Copy for RevokeSponsorshipType
impl Enum for RevokeSponsorshipType
impl Eq for RevokeSponsorshipType
impl StructuralPartialEq for RevokeSponsorshipType
impl Union<RevokeSponsorshipType> for RevokeSponsorshipOp
Auto Trait Implementations§
impl Freeze for RevokeSponsorshipType
impl RefUnwindSafe for RevokeSponsorshipType
impl Send for RevokeSponsorshipType
impl Sync for RevokeSponsorshipType
impl Unpin for RevokeSponsorshipType
impl UnwindSafe for RevokeSponsorshipType
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