pub struct OrderContingent {
pub order_type: OrderType,
pub price: Decimal,
pub price_2: Decimal,
pub order_flags: Vec<OrderFlag>,
}
Expand description
Contingent leg of an order, e.g. a stop-limit or take-profit
Fields§
§order_type: OrderType
§price: Decimal
§price_2: Decimal
§order_flags: Vec<OrderFlag>
Trait Implementations§
Source§impl Debug for OrderContingent
impl Debug for OrderContingent
Source§impl<'de> Deserialize<'de> for OrderContingent
impl<'de> Deserialize<'de> for OrderContingent
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
Source§impl PartialEq for OrderContingent
impl PartialEq for OrderContingent
impl StructuralPartialEq for OrderContingent
Auto Trait Implementations§
impl Freeze for OrderContingent
impl RefUnwindSafe for OrderContingent
impl Send for OrderContingent
impl Sync for OrderContingent
impl Unpin for OrderContingent
impl UnwindSafe for OrderContingent
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