pub enum ManageBuyOfferResultCode {
Show 13 variants
Success,
Malformed,
SellNoTrust,
BuyNoTrust,
SellNotAuthorized,
BuyNotAuthorized,
LineFull,
Underfunded,
CrossSelf,
SellNoIssuer,
BuyNoIssuer,
NotFound,
LowReserve,
}
Variants§
Success
Malformed
SellNoTrust
BuyNoTrust
SellNotAuthorized
BuyNotAuthorized
LineFull
Underfunded
CrossSelf
SellNoIssuer
BuyNoIssuer
NotFound
LowReserve
Implementations§
§impl ManageBuyOfferResultCode
impl ManageBuyOfferResultCode
pub const VARIANTS: [ManageBuyOfferResultCode; 13] = [ManageBuyOfferResultCode::Success, ManageBuyOfferResultCode::Malformed, ManageBuyOfferResultCode::SellNoTrust, ManageBuyOfferResultCode::BuyNoTrust, ManageBuyOfferResultCode::SellNotAuthorized, ManageBuyOfferResultCode::BuyNotAuthorized, ManageBuyOfferResultCode::LineFull, ManageBuyOfferResultCode::Underfunded, ManageBuyOfferResultCode::CrossSelf, ManageBuyOfferResultCode::SellNoIssuer, ManageBuyOfferResultCode::BuyNoIssuer, ManageBuyOfferResultCode::NotFound, ManageBuyOfferResultCode::LowReserve]
pub const VARIANTS_STR: [&'static str; 13] = ["Success", "Malformed", "SellNoTrust", "BuyNoTrust", "SellNotAuthorized", "BuyNotAuthorized", "LineFull", "Underfunded", "CrossSelf", "SellNoIssuer", "BuyNoIssuer", "NotFound", "LowReserve"]
pub const fn name(&self) -> &'static str
pub const fn variants() -> [ManageBuyOfferResultCode; 13]
Trait Implementations§
§impl Clone for ManageBuyOfferResultCode
impl Clone for ManageBuyOfferResultCode
§fn clone(&self) -> ManageBuyOfferResultCode
fn clone(&self) -> ManageBuyOfferResultCode
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 ManageBuyOfferResultCode
impl Debug for ManageBuyOfferResultCode
§impl Discriminant<ManageBuyOfferResultCode> for ManageBuyOfferResult
impl Discriminant<ManageBuyOfferResultCode> for ManageBuyOfferResult
fn discriminant(&self) -> ManageBuyOfferResultCode
§impl Display for ManageBuyOfferResultCode
impl Display for ManageBuyOfferResultCode
§impl Hash for ManageBuyOfferResultCode
impl Hash for ManageBuyOfferResultCode
§impl Ord for ManageBuyOfferResultCode
impl Ord for ManageBuyOfferResultCode
§fn cmp(&self, other: &ManageBuyOfferResultCode) -> Ordering
fn cmp(&self, other: &ManageBuyOfferResultCode) -> 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<ManageBuyOfferResultCode> for ManageBuyOfferResultCode
impl PartialEq<ManageBuyOfferResultCode> for ManageBuyOfferResultCode
§fn eq(&self, other: &ManageBuyOfferResultCode) -> bool
fn eq(&self, other: &ManageBuyOfferResultCode) -> bool
§impl PartialOrd<ManageBuyOfferResultCode> for ManageBuyOfferResultCode
impl PartialOrd<ManageBuyOfferResultCode> for ManageBuyOfferResultCode
§fn partial_cmp(&self, other: &ManageBuyOfferResultCode) -> Option<Ordering>
fn partial_cmp(&self, other: &ManageBuyOfferResultCode) -> 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