pub struct OcoOrderReport {Show 15 fields
pub symbol: String,
pub order_id: u64,
pub order_list_id: i64,
pub client_order_id: String,
pub transact_time: u64,
pub price: f64,
pub orig_qty: f64,
pub executed_qty: f64,
pub cummulative_quote_qty: f64,
pub status: OrderStatus,
pub time_in_force: TimeInForce,
pub order_type: OrderType,
pub side: OrderSide,
pub stop_price: Option<f64>,
pub self_trade_prevention_mode: Option<String>,
}Expand description
OCO order report (detailed info).
Fields§
§symbol: StringSymbol.
order_id: u64Order ID.
order_list_id: i64Order list ID.
client_order_id: StringClient order ID.
transact_time: u64Transaction time.
price: f64Price.
orig_qty: f64Original quantity.
executed_qty: f64Executed quantity.
cummulative_quote_qty: f64Cumulative quote quantity.
status: OrderStatusOrder status.
time_in_force: TimeInForceTime in force.
order_type: OrderTypeOrder type.
side: OrderSideOrder side.
stop_price: Option<f64>Stop price.
self_trade_prevention_mode: Option<String>Self-trade prevention mode.
Trait Implementations§
Source§impl Clone for OcoOrderReport
impl Clone for OcoOrderReport
Source§fn clone(&self) -> OcoOrderReport
fn clone(&self) -> OcoOrderReport
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 OcoOrderReport
impl Debug for OcoOrderReport
Source§impl<'de> Deserialize<'de> for OcoOrderReport
impl<'de> Deserialize<'de> for OcoOrderReport
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 OcoOrderReport
impl RefUnwindSafe for OcoOrderReport
impl Send for OcoOrderReport
impl Sync for OcoOrderReport
impl Unpin for OcoOrderReport
impl UnwindSafe for OcoOrderReport
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