#[non_exhaustive]pub enum TradeSide {
Buy,
Sell,
}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§
impl Copy for TradeSide
impl Eq for TradeSide
impl StructuralPartialEq for TradeSide
Auto Trait Implementations§
impl Freeze for TradeSide
impl RefUnwindSafe for TradeSide
impl Send for TradeSide
impl Sync for TradeSide
impl Unpin for TradeSide
impl UnsafeUnpin for TradeSide
impl UnwindSafe for TradeSide
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