pub enum OrderRelationship {
BRK,
OSP,
OSO,
OCO,
NORMAL,
}Expand description
The different types of Order relationships.
Variants§
BRK
Bracket Order relationship.
OSP
One Sends Parent (linked parent).
OSO
One Sends Other (linked child).
NOTE: From an execution perspective this
can be thought of as “Order Sends Order”
relationship type between Order’s.
OCO
One Cancels Other.
NOTE: From an execution perspective this
can be thought of as “Order Cancels Order”
relationship type between Order’s.
NORMAL
All other types of Order relationships.
Trait Implementations§
Source§impl Clone for OrderRelationship
impl Clone for OrderRelationship
Source§fn clone(&self) -> OrderRelationship
fn clone(&self) -> OrderRelationship
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OrderRelationship
impl Debug for OrderRelationship
Source§impl<'de> Deserialize<'de> for OrderRelationship
impl<'de> Deserialize<'de> for OrderRelationship
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 OrderRelationship
impl RefUnwindSafe for OrderRelationship
impl Send for OrderRelationship
impl Sync for OrderRelationship
impl Unpin for OrderRelationship
impl UnwindSafe for OrderRelationship
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