pub struct UserOrderUpdate {Show 43 fields
pub category: String,
pub symbol: String,
pub order_id: String,
pub order_link_id: String,
pub block_trade_id: Option<u64>,
pub side: Side,
pub position_idx: u8,
pub order_status: OrderStatus,
pub cancel_type: String,
pub reject_reason: String,
pub time_in_force: TimeInForce,
pub is_leverage: String,
pub price: Decimal,
pub qty: Decimal,
pub avg_price: Option<Decimal>,
pub leaves_qty: Decimal,
pub leaves_value: Decimal,
pub cum_exec_qty: Decimal,
pub cum_exec_value: Decimal,
pub cum_exec_fee: Decimal,
pub order_type: OrderType,
pub stop_order_type: String,
pub order_iv: String,
pub trigger_price: Option<Decimal>,
pub take_profit: Option<Decimal>,
pub stop_loss: Option<Decimal>,
pub trigger_by: String,
pub tp_trigger_by: String,
pub sl_trigger_by: String,
pub trigger_direction: u8,
pub place_type: String,
pub last_price_on_created: Decimal,
pub close_on_trigger: bool,
pub reduce_only: bool,
pub smp_group: u32,
pub smp_type: String,
pub smp_order_id: String,
pub sl_limit_price: Decimal,
pub tp_limit_price: Decimal,
pub market_unit: String,
pub created_time: u64,
pub updated_time: u64,
pub fee_currency: String,
}Fields§
§category: String§symbol: String§order_id: String§order_link_id: String§block_trade_id: Option<u64>§side: Side§position_idx: u8§order_status: OrderStatus§cancel_type: String§reject_reason: String§time_in_force: TimeInForce§is_leverage: String§price: Decimal§qty: Decimal§avg_price: Option<Decimal>§leaves_qty: Decimal§leaves_value: Decimal§cum_exec_qty: Decimal§cum_exec_value: Decimal§cum_exec_fee: Decimal§order_type: OrderType§stop_order_type: String§order_iv: String§trigger_price: Option<Decimal>§take_profit: Option<Decimal>§stop_loss: Option<Decimal>§trigger_by: String§tp_trigger_by: String§sl_trigger_by: String§trigger_direction: u8§place_type: String§last_price_on_created: Decimal§close_on_trigger: bool§reduce_only: bool§smp_group: u32§smp_type: String§smp_order_id: String§sl_limit_price: Decimal§tp_limit_price: Decimal§market_unit: String§created_time: u64§updated_time: u64§fee_currency: StringTrait Implementations§
Source§impl Clone for UserOrderUpdate
impl Clone for UserOrderUpdate
Source§fn clone(&self) -> UserOrderUpdate
fn clone(&self) -> UserOrderUpdate
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 UserOrderUpdate
impl Debug for UserOrderUpdate
Source§impl<'de> Deserialize<'de> for UserOrderUpdate
impl<'de> Deserialize<'de> for UserOrderUpdate
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 UserOrderUpdate
impl RefUnwindSafe for UserOrderUpdate
impl Send for UserOrderUpdate
impl Sync for UserOrderUpdate
impl Unpin for UserOrderUpdate
impl UnwindSafe for UserOrderUpdate
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