pub enum OrderOperation {
New,
Modify,
Cancel,
CancelAll,
Query,
}Expand description
Types of order operations
Variants§
New
Place a new order
Modify
Modify an existing order
Cancel
Cancel an existing order
CancelAll
Cancel all orders for an instrument
Query
Query order status
Trait Implementations§
Source§impl Clone for OrderOperation
impl Clone for OrderOperation
Source§fn clone(&self) -> OrderOperation
fn clone(&self) -> OrderOperation
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OrderOperation
impl Debug for OrderOperation
Source§impl<'de> Deserialize<'de> for OrderOperation
impl<'de> Deserialize<'de> for OrderOperation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OrderOperation
impl RefUnwindSafe for OrderOperation
impl Send for OrderOperation
impl Sync for OrderOperation
impl Unpin for OrderOperation
impl UnwindSafe for OrderOperation
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