pub enum OrderKey {
OrderId(String),
ClientOrderId(String),
}Expand description
Identifies an order by exactly one of exchange order id or client order id.
Matches TypeScript/Go oneOf semantics for get/cancel/modify and batch items.
Variants§
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.