pub enum AccountMergeResult {
Success(i64),
Malformed,
NoAccount,
ImmutableSet,
HasSubEntries,
SeqnumTooFar,
DestFull,
IsSponsor,
}
Variants
Success(i64)
Malformed
NoAccount
ImmutableSet
HasSubEntries
SeqnumTooFar
DestFull
IsSponsor
Implementations
impl AccountMergeResult
impl AccountMergeResult
pub const VARIANTS: [AccountMergeResultCode; 8] = [AccountMergeResultCode::Success, AccountMergeResultCode::Malformed, AccountMergeResultCode::NoAccount, AccountMergeResultCode::ImmutableSet, AccountMergeResultCode::HasSubEntries, AccountMergeResultCode::SeqnumTooFar, AccountMergeResultCode::DestFull, AccountMergeResultCode::IsSponsor]
pub const VARIANTS_STR: [&'static str; 8] = ["Success", "Malformed", "NoAccount", "ImmutableSet", "HasSubEntries", "SeqnumTooFar", "DestFull", "IsSponsor"]
pub const fn name(&self) -> &'static str
pub const fn discriminant(&self) -> AccountMergeResultCode
pub const fn variants() -> [AccountMergeResultCode; 8]
Trait Implementations
impl Clone for AccountMergeResult
impl Clone for AccountMergeResult
fn clone(&self) -> AccountMergeResult
fn clone(&self) -> AccountMergeResult
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 AccountMergeResult
impl Debug for AccountMergeResult
impl Discriminant<AccountMergeResultCode> for AccountMergeResult
impl Discriminant<AccountMergeResultCode> for AccountMergeResult
fn discriminant(&self) -> AccountMergeResultCode
impl Hash for AccountMergeResult
impl Hash for AccountMergeResult
impl Name for AccountMergeResult
impl Name for AccountMergeResult
impl Ord for AccountMergeResult
impl Ord for AccountMergeResult
fn cmp(&self, other: &AccountMergeResult) -> Ordering
fn cmp(&self, other: &AccountMergeResult) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
impl PartialEq<AccountMergeResult> for AccountMergeResult
impl PartialEq<AccountMergeResult> for AccountMergeResult
fn eq(&self, other: &AccountMergeResult) -> bool
fn eq(&self, other: &AccountMergeResult) -> bool
impl PartialOrd<AccountMergeResult> for AccountMergeResult
impl PartialOrd<AccountMergeResult> for AccountMergeResult
fn partial_cmp(&self, other: &AccountMergeResult) -> Option<Ordering>
fn partial_cmp(&self, other: &AccountMergeResult) -> 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<AccountMergeResultCode> for AccountMergeResult
impl Variants<AccountMergeResultCode> for AccountMergeResult
fn variants() -> Iter<'static, AccountMergeResultCode>
impl Eq for AccountMergeResult
impl ReadXdr for AccountMergeResult
impl StructuralEq for AccountMergeResult
impl StructuralPartialEq for AccountMergeResult
impl Union<AccountMergeResultCode> for AccountMergeResult
impl WriteXdr for AccountMergeResult
Auto Trait Implementations
impl RefUnwindSafe for AccountMergeResult
impl Send for AccountMergeResult
impl Sync for AccountMergeResult
impl Unpin for AccountMergeResult
impl UnwindSafe for AccountMergeResult
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