#[repr(i32)]
pub enum ManageSellOfferResultCode {
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
Trait Implementations
impl Clone for ManageSellOfferResultCode
impl Clone for ManageSellOfferResultCode
fn clone(&self) -> ManageSellOfferResultCode
fn clone(&self) -> ManageSellOfferResultCode
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 more
impl Debug for ManageSellOfferResultCode
impl Debug for ManageSellOfferResultCode
impl Discriminant<ManageSellOfferResultCode> for ManageSellOfferResult
impl Discriminant<ManageSellOfferResultCode> for ManageSellOfferResult
fn discriminant(&self) -> ManageSellOfferResultCode
impl Display for ManageSellOfferResultCode
impl Display for ManageSellOfferResultCode
impl Hash for ManageSellOfferResultCode
impl Hash for ManageSellOfferResultCode
impl Name for ManageSellOfferResultCode
impl Name for ManageSellOfferResultCode
impl Ord for ManageSellOfferResultCode
impl Ord for ManageSellOfferResultCode
fn cmp(&self, other: &ManageSellOfferResultCode) -> Ordering
fn cmp(&self, other: &ManageSellOfferResultCode) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
impl PartialOrd<ManageSellOfferResultCode> for ManageSellOfferResultCode
impl PartialOrd<ManageSellOfferResultCode> for ManageSellOfferResultCode
fn partial_cmp(&self, other: &ManageSellOfferResultCode) -> Option<Ordering>
fn partial_cmp(&self, other: &ManageSellOfferResultCode) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
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 more
impl TryFrom<i32> for ManageSellOfferResultCode
impl TryFrom<i32> for ManageSellOfferResultCode
impl Variants<ManageSellOfferResultCode> for ManageSellOfferResult
impl Variants<ManageSellOfferResultCode> for ManageSellOfferResult
fn variants() -> Iter<'static, ManageSellOfferResultCode>
impl Variants<ManageSellOfferResultCode> for ManageSellOfferResultCode
impl Variants<ManageSellOfferResultCode> for ManageSellOfferResultCode
fn variants() -> Iter<'static, ManageSellOfferResultCode>
impl Copy for ManageSellOfferResultCode
impl Enum for ManageSellOfferResultCode
impl Eq for ManageSellOfferResultCode
impl ReadXdr for ManageSellOfferResultCode
impl StructuralEq for ManageSellOfferResultCode
impl StructuralPartialEq for ManageSellOfferResultCode
impl Union<ManageSellOfferResultCode> for ManageSellOfferResult
impl WriteXdr for ManageSellOfferResultCode
Auto Trait Implementations
impl RefUnwindSafe for ManageSellOfferResultCode
impl Send for ManageSellOfferResultCode
impl Sync for ManageSellOfferResultCode
impl Unpin for ManageSellOfferResultCode
impl UnwindSafe for ManageSellOfferResultCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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