pub struct Orders {Show 41 fields
pub order_id: String,
pub order_link_id: String,
pub block_trade_id: String,
pub symbol: String,
pub price: f64,
pub qty: f64,
pub side: Side,
pub is_leverage: String,
pub position_idx: i32,
pub order_status: String,
pub cancel_type: String,
pub reject_reason: String,
pub avg_price: f64,
pub leaves_qty: f64,
pub leaves_value: f64,
pub cum_exec_qty: f64,
pub cum_exec_value: f64,
pub cum_exec_fee: f64,
pub time_in_force: String,
pub order_type: OrderType,
pub stop_order_type: String,
pub order_iv: String,
pub trigger_price: f64,
pub take_profit: f64,
pub stop_loss: f64,
pub tp_trigger_by: String,
pub sl_trigger_by: String,
pub trigger_direction: i32,
pub trigger_by: String,
pub last_price_on_created: f64,
pub reduce_only: bool,
pub close_on_trigger: bool,
pub smp_type: String,
pub smp_group: i32,
pub smp_order_id: String,
pub tpsl_mode: String,
pub tp_limit_price: f64,
pub sl_limit_price: f64,
pub place_type: String,
pub created_time: u64,
pub updated_time: u64,
}Fields§
§order_id: String§order_link_id: String§block_trade_id: String§symbol: String§price: f64§qty: f64§side: Side§is_leverage: String§position_idx: i32§order_status: String§cancel_type: String§reject_reason: String§avg_price: f64§leaves_qty: f64§leaves_value: f64§cum_exec_qty: f64§cum_exec_value: f64§cum_exec_fee: f64§time_in_force: String§order_type: OrderType§stop_order_type: String§order_iv: String§trigger_price: f64§take_profit: f64§stop_loss: f64§tp_trigger_by: String§sl_trigger_by: String§trigger_direction: i32§trigger_by: String§last_price_on_created: f64§reduce_only: bool§close_on_trigger: bool§smp_type: String§smp_group: i32§smp_order_id: String§tpsl_mode: String§tp_limit_price: f64§sl_limit_price: f64§place_type: String§created_time: u64§updated_time: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for Orders
impl<'de> Deserialize<'de> for Orders
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 Orders
impl RefUnwindSafe for Orders
impl Send for Orders
impl Sync for Orders
impl Unpin for Orders
impl UnwindSafe for Orders
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