pub enum SetOptionsResultCode {
Success,
LowReserve,
TooManySigners,
BadFlags,
InvalidInflation,
CantChange,
UnknownFlag,
ThresholdOutOfRange,
BadSigner,
InvalidHomeDomain,
AuthRevocableRequired,
}
Variants§
Success
LowReserve
TooManySigners
BadFlags
InvalidInflation
CantChange
UnknownFlag
ThresholdOutOfRange
BadSigner
InvalidHomeDomain
AuthRevocableRequired
Implementations§
§impl SetOptionsResultCode
impl SetOptionsResultCode
pub const VARIANTS: [SetOptionsResultCode; 11] = [SetOptionsResultCode::Success, SetOptionsResultCode::LowReserve, SetOptionsResultCode::TooManySigners, SetOptionsResultCode::BadFlags, SetOptionsResultCode::InvalidInflation, SetOptionsResultCode::CantChange, SetOptionsResultCode::UnknownFlag, SetOptionsResultCode::ThresholdOutOfRange, SetOptionsResultCode::BadSigner, SetOptionsResultCode::InvalidHomeDomain, SetOptionsResultCode::AuthRevocableRequired]
pub const VARIANTS_STR: [&'static str; 11] = ["Success", "LowReserve", "TooManySigners", "BadFlags", "InvalidInflation", "CantChange", "UnknownFlag", "ThresholdOutOfRange", "BadSigner", "InvalidHomeDomain", "AuthRevocableRequired"]
pub const fn name(&self) -> &'static str
pub const fn variants() -> [SetOptionsResultCode; 11]
Trait Implementations§
§impl Clone for SetOptionsResultCode
impl Clone for SetOptionsResultCode
§fn clone(&self) -> SetOptionsResultCode
fn clone(&self) -> SetOptionsResultCode
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 SetOptionsResultCode
impl Debug for SetOptionsResultCode
§impl Discriminant<SetOptionsResultCode> for SetOptionsResult
impl Discriminant<SetOptionsResultCode> for SetOptionsResult
fn discriminant(&self) -> SetOptionsResultCode
§impl Display for SetOptionsResultCode
impl Display for SetOptionsResultCode
§impl Hash for SetOptionsResultCode
impl Hash for SetOptionsResultCode
§impl Ord for SetOptionsResultCode
impl Ord for SetOptionsResultCode
§fn cmp(&self, other: &SetOptionsResultCode) -> Ordering
fn cmp(&self, other: &SetOptionsResultCode) -> 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
§impl PartialEq<SetOptionsResultCode> for SetOptionsResultCode
impl PartialEq<SetOptionsResultCode> for SetOptionsResultCode
§fn eq(&self, other: &SetOptionsResultCode) -> bool
fn eq(&self, other: &SetOptionsResultCode) -> bool
§impl PartialOrd<SetOptionsResultCode> for SetOptionsResultCode
impl PartialOrd<SetOptionsResultCode> for SetOptionsResultCode
§fn partial_cmp(&self, other: &SetOptionsResultCode) -> Option<Ordering>
fn partial_cmp(&self, other: &SetOptionsResultCode) -> 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