pub struct OcoOrder {
pub order_list_id: u64,
pub contingency_type: ContingencyType,
pub list_status_type: OcoStatus,
pub list_order_status: OcoOrderStatus,
pub list_client_order_id: String,
pub transaction_time: u64,
pub symbol: String,
pub orders: Vec<OcoOrderDetail>,
pub order_reports: Vec<OcoOrderReport>,
}Expand description
OCO order information.
Fields§
§order_list_id: u64Order list ID.
contingency_type: ContingencyTypeContingency type.
list_status_type: OcoStatusList status type.
list_order_status: OcoOrderStatusList order status.
list_client_order_id: StringList client order ID.
transaction_time: u64Transaction time.
symbol: StringSymbol.
orders: Vec<OcoOrderDetail>Orders in this OCO.
order_reports: Vec<OcoOrderReport>Order reports (detailed info about each order).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OcoOrder
impl<'de> Deserialize<'de> for OcoOrder
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 OcoOrder
impl RefUnwindSafe for OcoOrder
impl Send for OcoOrder
impl Sync for OcoOrder
impl Unpin for OcoOrder
impl UnwindSafe for OcoOrder
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