#[non_exhaustive]pub enum MarketQuantityMode {
Base,
Quote,
}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 MarketQuantityMode
impl Clone for MarketQuantityMode
Source§fn clone(&self) -> MarketQuantityMode
fn clone(&self) -> MarketQuantityMode
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 MarketQuantityMode
impl Debug for MarketQuantityMode
Source§impl Hash for MarketQuantityMode
impl Hash for MarketQuantityMode
Source§impl PartialEq for MarketQuantityMode
impl PartialEq for MarketQuantityMode
Source§fn eq(&self, other: &MarketQuantityMode) -> bool
fn eq(&self, other: &MarketQuantityMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MarketQuantityMode
impl StructuralPartialEq for MarketQuantityMode
Auto Trait Implementations§
impl Freeze for MarketQuantityMode
impl RefUnwindSafe for MarketQuantityMode
impl Send for MarketQuantityMode
impl Sync for MarketQuantityMode
impl Unpin for MarketQuantityMode
impl UnsafeUnpin for MarketQuantityMode
impl UnwindSafe for MarketQuantityMode
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