#[non_exhaustive]pub enum MarketFamily {
Spot,
Derivative,
}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 MarketFamily
impl Clone for MarketFamily
Source§fn clone(&self) -> MarketFamily
fn clone(&self) -> MarketFamily
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MarketFamily
impl Debug for MarketFamily
Source§impl Hash for MarketFamily
impl Hash for MarketFamily
Source§impl Ord for MarketFamily
impl Ord for MarketFamily
Source§fn cmp(&self, other: &MarketFamily) -> Ordering
fn cmp(&self, other: &MarketFamily) -> Ordering
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
Source§impl PartialEq for MarketFamily
impl PartialEq for MarketFamily
Source§fn eq(&self, other: &MarketFamily) -> bool
fn eq(&self, other: &MarketFamily) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MarketFamily
impl PartialOrd for MarketFamily
impl Copy for MarketFamily
impl Eq for MarketFamily
impl StructuralPartialEq for MarketFamily
Auto Trait Implementations§
impl Freeze for MarketFamily
impl RefUnwindSafe for MarketFamily
impl Send for MarketFamily
impl Sync for MarketFamily
impl Unpin for MarketFamily
impl UnsafeUnpin for MarketFamily
impl UnwindSafe for MarketFamily
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