#[non_exhaustive]pub enum OrderKey {
Exchange(OrderId),
Client(ClientOrderId),
}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.
Exchange(OrderId)
Client(ClientOrderId)
Trait Implementations§
impl Eq for OrderKey
impl StructuralPartialEq for OrderKey
Auto Trait Implementations§
impl Freeze for OrderKey
impl RefUnwindSafe for OrderKey
impl Send for OrderKey
impl Sync for OrderKey
impl Unpin for OrderKey
impl UnsafeUnpin for OrderKey
impl UnwindSafe for OrderKey
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