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