pub struct OrderUpdate {Show 31 fields
pub event_time: u64,
pub symbol: String,
pub client_order_id: Option<String>,
pub side: OrderSide,
pub order_type: OrderType,
pub time_in_force: TimeInForce,
pub qty: f64,
pub price: f64,
pub stop_price: f64,
pub iceberg_qty: f64,
pub order_list_id: i64,
pub origin_client_id: Option<String>,
pub execution_type: OrderStatus,
pub current_order_status: OrderStatus,
pub order_reject_reason: String,
pub order_id: u64,
pub qty_last_executed: f64,
pub cumulative_filled_qty: f64,
pub last_executed_price: f64,
pub commission: f64,
pub commission_asset: Option<String>,
pub trade_order_time: u64,
pub trade_id: i64,
pub i_ignore: u64,
pub is_order_on_the_book: bool,
pub is_buyer_maker: bool,
pub m_ignore: bool,
pub order_creation_time: u64,
pub cumulative_quote_asset_transacted_qty: f64,
pub last_quote_asset_transacted_qty: f64,
pub quote_order_qty: f64,
}Fields§
§event_time: u64§symbol: String§client_order_id: Option<String>§side: OrderSide§order_type: OrderType§time_in_force: TimeInForce§qty: f64§price: f64§stop_price: f64§iceberg_qty: f64§order_list_id: i64§origin_client_id: Option<String>§execution_type: OrderStatus§current_order_status: OrderStatus§order_reject_reason: String§order_id: u64§qty_last_executed: f64§cumulative_filled_qty: f64§last_executed_price: f64§commission: f64§commission_asset: Option<String>§trade_order_time: u64§trade_id: i64§i_ignore: u64§is_order_on_the_book: bool§is_buyer_maker: bool§m_ignore: bool§order_creation_time: u64§cumulative_quote_asset_transacted_qty: f64§last_quote_asset_transacted_qty: f64(i.e. lastPrice * lastQty)
quote_order_qty: f64Trait Implementations§
Source§impl Clone for OrderUpdate
impl Clone for OrderUpdate
Source§fn clone(&self) -> OrderUpdate
fn clone(&self) -> OrderUpdate
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 OrderUpdate
impl Debug for OrderUpdate
Source§impl<'de> Deserialize<'de> for OrderUpdate
impl<'de> Deserialize<'de> for OrderUpdate
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 OrderUpdate
impl RefUnwindSafe for OrderUpdate
impl Send for OrderUpdate
impl Sync for OrderUpdate
impl Unpin for OrderUpdate
impl UnwindSafe for OrderUpdate
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