pub struct Order {Show 20 fields
pub symbol: String,
pub order_id: u64,
pub order_list_id: i64,
pub client_order_id: String,
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: f64,
pub iceberg_qty: f64,
pub time: u64,
pub update_time: u64,
pub is_working: bool,
pub orig_quote_order_qty: f64,
pub working_time: Option<u64>,
pub self_trade_prevention_mode: Option<String>,
}Expand description
Order information.
Fields§
§symbol: StringSymbol.
order_id: u64Order ID.
order_list_id: i64Order list ID (-1 if not part of an order list).
client_order_id: StringClient order ID.
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: f64Stop price.
iceberg_qty: f64Iceberg quantity.
time: u64Order creation time.
update_time: u64Order update time.
is_working: boolIs the order working.
orig_quote_order_qty: f64Original quote order quantity.
working_time: Option<u64>Working time.
self_trade_prevention_mode: Option<String>Self-trade prevention mode.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Order
impl<'de> Deserialize<'de> for Order
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 Order
impl RefUnwindSafe for Order
impl Send for Order
impl Sync for Order
impl Unpin for Order
impl UnwindSafe for Order
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