#[non_exhaustive]pub enum MarginCallLevel {
First,
Second,
Third,
}Expand description
Which of the margin calls of an account one is.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for MarginCallLevel
impl Clone for MarginCallLevel
impl Copy for MarginCallLevel
Source§impl Debug for MarginCallLevel
impl Debug for MarginCallLevel
impl Eq for MarginCallLevel
Source§impl Hash for MarginCallLevel
impl Hash for MarginCallLevel
Source§impl Ord for MarginCallLevel
impl Ord for MarginCallLevel
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for MarginCallLevel
impl PartialEq for MarginCallLevel
Source§impl PartialOrd for MarginCallLevel
impl PartialOrd for MarginCallLevel
impl StructuralPartialEq for MarginCallLevel
Auto Trait Implementations§
impl Forget for MarginCallLevel
impl Freeze for MarginCallLevel
impl Move for MarginCallLevel
impl RefUnwindSafe for MarginCallLevel
impl Send for MarginCallLevel
impl Sync for MarginCallLevel
impl Unpin for MarginCallLevel
impl UnsafeUnpin for MarginCallLevel
impl UnwindSafe for MarginCallLevel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more