pub struct OrderUpdate {Show 29 fields
pub avg_price: f64,
pub cancel_reason: String,
pub client_order_id: String,
pub completion_percentage: f64,
pub contract_expiry_type: String,
pub cumulative_quantity: f64,
pub filled_value: f64,
pub leaves_quantity: f64,
pub limit_price: f64,
pub number_of_fills: u32,
pub order_id: String,
pub order_side: OrderSide,
pub order_type: OrderType,
pub outstanding_hold_amount: f64,
pub post_only: bool,
pub product_id: String,
pub product_type: ProductType,
pub reject_reason: Option<String>,
pub retail_portfolio_id: String,
pub risk_managed_by: String,
pub status: OrderStatus,
pub stop_price: Option<f64>,
pub time_in_force: TimeInForce,
pub total_fees: f64,
pub total_value_after_fees: f64,
pub trigger_status: TriggerStatus,
pub creation_time: String,
pub end_time: String,
pub start_time: String,
}Expand description
Order updates for a user from a websocket.
Fields§
§avg_price: f64§cancel_reason: String§client_order_id: String§completion_percentage: f64§contract_expiry_type: String§cumulative_quantity: f64§filled_value: f64§leaves_quantity: f64§limit_price: f64§number_of_fills: u32§order_id: String§order_side: OrderSide§order_type: OrderType§outstanding_hold_amount: f64§post_only: bool§product_id: String§product_type: ProductType§reject_reason: Option<String>§retail_portfolio_id: String§risk_managed_by: String§status: OrderStatus§stop_price: Option<f64>§time_in_force: TimeInForce§total_fees: f64§total_value_after_fees: f64§trigger_status: TriggerStatus§creation_time: String§end_time: String§start_time: StringTrait 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