pub struct OrderData {Show 42 fields
pub symbol: String,
pub order_id: String,
pub side: String,
pub order_type: String,
pub cancel_type: String,
pub price: String,
pub qty: String,
pub order_iv: String,
pub time_in_force: String,
pub order_status: String,
pub order_link_id: String,
pub last_price_on_created: String,
pub reduce_only: bool,
pub leaves_qty: String,
pub leaves_value: String,
pub cum_exec_qty: String,
pub cum_exec_value: String,
pub avg_price: String,
pub block_trade_id: String,
pub position_idx: u8,
pub cum_exec_fee: String,
pub created_time: String,
pub updated_time: String,
pub reject_reason: String,
pub stop_order_type: String,
pub tpsl_mode: String,
pub trigger_price: String,
pub take_profit: String,
pub stop_loss: String,
pub tp_trigger_by: String,
pub sl_trigger_by: String,
pub tp_limit_price: String,
pub sl_limit_price: String,
pub trigger_direction: u8,
pub trigger_by: String,
pub close_on_trigger: bool,
pub category: String,
pub place_type: String,
pub smp_type: String,
pub smp_group: u8,
pub smp_order_id: String,
pub fee_currency: String,
}Fields§
§symbol: String§order_id: String§side: String§order_type: String§cancel_type: String§price: String§qty: String§order_iv: String§time_in_force: String§order_status: String§order_link_id: String§last_price_on_created: String§reduce_only: bool§leaves_qty: String§leaves_value: String§cum_exec_qty: String§cum_exec_value: String§avg_price: String§block_trade_id: String§position_idx: u8§cum_exec_fee: String§created_time: String§updated_time: String§reject_reason: String§stop_order_type: String§tpsl_mode: String§trigger_price: String§take_profit: String§stop_loss: String§tp_trigger_by: String§sl_trigger_by: String§tp_limit_price: String§sl_limit_price: String§trigger_direction: u8§trigger_by: String§close_on_trigger: bool§category: String§place_type: String§smp_type: String§smp_group: u8§smp_order_id: String§fee_currency: StringTrait Implementations§
source§impl<'de> Deserialize<'de> for OrderData
impl<'de> Deserialize<'de> for OrderData
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
impl Send for OrderData
impl Sync for OrderData
Auto Trait Implementations§
impl Freeze for OrderData
impl RefUnwindSafe for OrderData
impl Unpin for OrderData
impl UnwindSafe for OrderData
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)