Struct binance::ws_model::OrderUpdate
source · [−]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: u64symbol: Stringclient_order_id: Option<String>side: OrderSideorder_type: OrderTypetime_in_force: TimeInForceqty: f64price: f64stop_price: f64iceberg_qty: f64order_list_id: i64origin_client_id: Option<String>execution_type: OrderStatuscurrent_order_status: OrderStatusorder_reject_reason: Stringorder_id: u64qty_last_executed: f64cumulative_filled_qty: f64last_executed_price: f64commission: f64commission_asset: Option<String>trade_order_time: u64trade_id: i64i_ignore: u64is_order_on_the_book: boolis_buyer_maker: boolm_ignore: boolorder_creation_time: u64cumulative_quote_asset_transacted_qty: f64last_quote_asset_transacted_qty: f64(i.e. lastPrice * lastQty)
quote_order_qty: f64Trait Implementations
sourceimpl Clone for OrderUpdate
impl Clone for OrderUpdate
sourcefn clone(&self) -> OrderUpdate
fn clone(&self) -> OrderUpdate
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for OrderUpdate
impl Debug for OrderUpdate
sourceimpl<'de> Deserialize<'de> for OrderUpdate
impl<'de> Deserialize<'de> for OrderUpdate
sourcefn 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
sourceimpl Serialize for OrderUpdate
impl Serialize for OrderUpdate
Auto Trait Implementations
impl RefUnwindSafe for OrderUpdate
impl Send for OrderUpdate
impl Sync for OrderUpdate
impl Unpin for OrderUpdate
impl UnwindSafe for OrderUpdate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more