pub enum OcaType {
None = 0,
CancelWithBlock = 1,
ReduceWithBlock = 2,
ReduceWithoutBlock = 3,
}Expand description
Tells how to handle remaining orders in an OCA group when one order or part of an order executes.
Variants§
None = 0
Not part of OCA group.
CancelWithBlock = 1
Cancel all remaining orders with block (overfill protection - only one order routed at a time).
ReduceWithBlock = 2
Proportionally reduce remaining orders with block.
ReduceWithoutBlock = 3
Proportionally reduce remaining orders without block.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OcaType
impl<'de> Deserialize<'de> for OcaType
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
impl Copy for OcaType
impl Eq for OcaType
impl StructuralPartialEq for OcaType
Auto Trait Implementations§
impl Freeze for OcaType
impl RefUnwindSafe for OcaType
impl Send for OcaType
impl Sync for OcaType
impl Unpin for OcaType
impl UnwindSafe for OcaType
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