Enum soroban_env_guest::xdr::next::AccountFlags
pub enum AccountFlags {
RequiredFlag,
RevocableFlag,
ImmutableFlag,
ClawbackEnabledFlag,
}
Variants§
Implementations§
§impl AccountFlags
impl AccountFlags
pub const VARIANTS: [AccountFlags; 4] = [AccountFlags::RequiredFlag, AccountFlags::RevocableFlag, AccountFlags::ImmutableFlag, AccountFlags::ClawbackEnabledFlag]
pub const VARIANTS_STR: [&'static str; 4] = ["RequiredFlag", "RevocableFlag", "ImmutableFlag", "ClawbackEnabledFlag"]
pub const fn name(&self) -> &'static str
pub const fn variants() -> [AccountFlags; 4]
Trait Implementations§
§impl Clone for AccountFlags
impl Clone for AccountFlags
§fn clone(&self) -> AccountFlags
fn clone(&self) -> AccountFlags
Returns a copy 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 more§impl Debug for AccountFlags
impl Debug for AccountFlags
§impl Display for AccountFlags
impl Display for AccountFlags
§impl Hash for AccountFlags
impl Hash for AccountFlags
§impl Ord for AccountFlags
impl Ord for AccountFlags
§impl PartialEq<AccountFlags> for AccountFlags
impl PartialEq<AccountFlags> for AccountFlags
§fn eq(&self, other: &AccountFlags) -> bool
fn eq(&self, other: &AccountFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd<AccountFlags> for AccountFlags
impl PartialOrd<AccountFlags> for AccountFlags
§fn partial_cmp(&self, other: &AccountFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &AccountFlags) -> Option<Ordering>
1.0.0 · source§fn 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 more