pub struct PreCheckOrderParams {Show 21 fields
pub category: String,
pub symbol: String,
pub side: String,
pub order_type: String,
pub qty: String,
pub price: Option<String>,
pub is_leverage: Option<i32>,
pub time_in_force: Option<String>,
pub position_idx: Option<i32>,
pub order_link_id: Option<String>,
pub take_profit: Option<String>,
pub stop_loss: Option<String>,
pub tp_trigger_by: Option<String>,
pub sl_trigger_by: Option<String>,
pub reduce_only: Option<bool>,
pub tpsl_mode: Option<String>,
pub tp_limit_price: Option<String>,
pub sl_limit_price: Option<String>,
pub tp_order_type: Option<String>,
pub sl_order_type: Option<String>,
pub order_iv: Option<String>,
}Fields§
§category: String§symbol: String§side: String§order_type: String§qty: String§price: Option<String>§is_leverage: Option<i32>§time_in_force: Option<String>§position_idx: Option<i32>§order_link_id: Option<String>§take_profit: Option<String>§stop_loss: Option<String>§tp_trigger_by: Option<String>§sl_trigger_by: Option<String>§reduce_only: Option<bool>§tpsl_mode: Option<String>§tp_limit_price: Option<String>§sl_limit_price: Option<String>§tp_order_type: Option<String>§sl_order_type: Option<String>§order_iv: Option<String>Trait Implementations§
Source§impl Clone for PreCheckOrderParams
impl Clone for PreCheckOrderParams
Source§fn clone(&self) -> PreCheckOrderParams
fn clone(&self) -> PreCheckOrderParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PreCheckOrderParams
impl Debug for PreCheckOrderParams
Source§impl<'de> Deserialize<'de> for PreCheckOrderParams
impl<'de> Deserialize<'de> for PreCheckOrderParams
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 PreCheckOrderParams
impl RefUnwindSafe for PreCheckOrderParams
impl Send for PreCheckOrderParams
impl Sync for PreCheckOrderParams
impl Unpin for PreCheckOrderParams
impl UnsafeUnpin for PreCheckOrderParams
impl UnwindSafe for PreCheckOrderParams
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