pub enum EndSponsoringFutureReservesResult {
Success,
NotSponsored,
}
Variants
Success
NotSponsored
Implementations
impl EndSponsoringFutureReservesResult
impl EndSponsoringFutureReservesResult
pub const VARIANTS: [EndSponsoringFutureReservesResultCode; 2] = [EndSponsoringFutureReservesResultCode::Success, EndSponsoringFutureReservesResultCode::NotSponsored]
pub const VARIANTS_STR: [&'static str; 2] = ["Success", "NotSponsored"]
pub const fn name(&self) -> &'static str
pub const fn discriminant(&self) -> EndSponsoringFutureReservesResultCode
pub const fn variants() -> [EndSponsoringFutureReservesResultCode; 2]
Trait Implementations
impl Clone for EndSponsoringFutureReservesResult
impl Clone for EndSponsoringFutureReservesResult
fn clone(&self) -> EndSponsoringFutureReservesResult
fn clone(&self) -> EndSponsoringFutureReservesResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Debug for EndSponsoringFutureReservesResult
impl Debug for EndSponsoringFutureReservesResult
impl Discriminant<EndSponsoringFutureReservesResultCode> for EndSponsoringFutureReservesResult
impl Discriminant<EndSponsoringFutureReservesResultCode> for EndSponsoringFutureReservesResult
fn discriminant(&self) -> EndSponsoringFutureReservesResultCode
impl Hash for EndSponsoringFutureReservesResult
impl Hash for EndSponsoringFutureReservesResult
impl Name for EndSponsoringFutureReservesResult
impl Name for EndSponsoringFutureReservesResult
impl Ord for EndSponsoringFutureReservesResult
impl Ord for EndSponsoringFutureReservesResult
fn cmp(&self, other: &EndSponsoringFutureReservesResult) -> Ordering
fn cmp(&self, other: &EndSponsoringFutureReservesResult) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
impl PartialEq<EndSponsoringFutureReservesResult> for EndSponsoringFutureReservesResult
impl PartialEq<EndSponsoringFutureReservesResult> for EndSponsoringFutureReservesResult
fn eq(&self, other: &EndSponsoringFutureReservesResult) -> bool
fn eq(&self, other: &EndSponsoringFutureReservesResult) -> bool
impl PartialOrd<EndSponsoringFutureReservesResult> for EndSponsoringFutureReservesResult
impl PartialOrd<EndSponsoringFutureReservesResult> for EndSponsoringFutureReservesResult
fn partial_cmp(
&self,
other: &EndSponsoringFutureReservesResult
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &EndSponsoringFutureReservesResult
) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Variants<EndSponsoringFutureReservesResultCode> for EndSponsoringFutureReservesResult
impl Variants<EndSponsoringFutureReservesResultCode> for EndSponsoringFutureReservesResult
fn variants() -> Iter<'static, EndSponsoringFutureReservesResultCode>
impl Eq for EndSponsoringFutureReservesResult
impl ReadXdr for EndSponsoringFutureReservesResult
impl StructuralEq for EndSponsoringFutureReservesResult
impl StructuralPartialEq for EndSponsoringFutureReservesResult
impl Union<EndSponsoringFutureReservesResultCode> for EndSponsoringFutureReservesResult
impl WriteXdr for EndSponsoringFutureReservesResult
Auto Trait Implementations
impl RefUnwindSafe for EndSponsoringFutureReservesResult
impl Send for EndSponsoringFutureReservesResult
impl Sync for EndSponsoringFutureReservesResult
impl Unpin for EndSponsoringFutureReservesResult
impl UnwindSafe for EndSponsoringFutureReservesResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more