pub enum SetTrustLineFlagsResultCode {
Success,
Malformed,
NoTrustLine,
CantRevoke,
InvalidState,
LowReserve,
}
Variants§
Implementations§
§impl SetTrustLineFlagsResultCode
impl SetTrustLineFlagsResultCode
pub const VARIANTS: [SetTrustLineFlagsResultCode; 6] = [SetTrustLineFlagsResultCode::Success, SetTrustLineFlagsResultCode::Malformed, SetTrustLineFlagsResultCode::NoTrustLine, SetTrustLineFlagsResultCode::CantRevoke, SetTrustLineFlagsResultCode::InvalidState, SetTrustLineFlagsResultCode::LowReserve]
pub const VARIANTS_STR: [&'static str; 6] = ["Success", "Malformed", "NoTrustLine", "CantRevoke", "InvalidState", "LowReserve"]
pub const fn name(&self) -> &'static str
pub const fn variants() -> [SetTrustLineFlagsResultCode; 6]
Trait Implementations§
§impl Clone for SetTrustLineFlagsResultCode
impl Clone for SetTrustLineFlagsResultCode
§fn clone(&self) -> SetTrustLineFlagsResultCode
fn clone(&self) -> SetTrustLineFlagsResultCode
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 SetTrustLineFlagsResultCode
impl Debug for SetTrustLineFlagsResultCode
§impl Discriminant<SetTrustLineFlagsResultCode> for SetTrustLineFlagsResult
impl Discriminant<SetTrustLineFlagsResultCode> for SetTrustLineFlagsResult
fn discriminant(&self) -> SetTrustLineFlagsResultCode
§impl Display for SetTrustLineFlagsResultCode
impl Display for SetTrustLineFlagsResultCode
§impl Hash for SetTrustLineFlagsResultCode
impl Hash for SetTrustLineFlagsResultCode
§impl Ord for SetTrustLineFlagsResultCode
impl Ord for SetTrustLineFlagsResultCode
§fn cmp(&self, other: &SetTrustLineFlagsResultCode) -> Ordering
fn cmp(&self, other: &SetTrustLineFlagsResultCode) -> 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<SetTrustLineFlagsResultCode> for SetTrustLineFlagsResultCode
impl PartialEq<SetTrustLineFlagsResultCode> for SetTrustLineFlagsResultCode
§fn eq(&self, other: &SetTrustLineFlagsResultCode) -> bool
fn eq(&self, other: &SetTrustLineFlagsResultCode) -> bool
§impl PartialOrd<SetTrustLineFlagsResultCode> for SetTrustLineFlagsResultCode
impl PartialOrd<SetTrustLineFlagsResultCode> for SetTrustLineFlagsResultCode
§fn partial_cmp(&self, other: &SetTrustLineFlagsResultCode) -> Option<Ordering>
fn partial_cmp(&self, other: &SetTrustLineFlagsResultCode) -> 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