Struct binance::rest_model::MarginOCOOrder
source · pub struct MarginOCOOrder {Show 15 fields
pub symbol: String,
pub is_isolated: Option<String>,
pub list_client_order_id: Option<String>,
pub side: OrderSide,
pub quantity: f64,
pub limit_client_order_id: Option<String>,
pub price: f64,
pub limit_iceberg_qty: Option<f64>,
pub stop_client_order_id: Option<String>,
pub stop_price: f64,
pub stop_limit_price: Option<f64>,
pub stop_iceberg_qty: Option<f64>,
pub stop_limit_time_in_force: Option<TimeInForce>,
pub new_order_resp_type: Option<OrderResponse>,
pub side_effect_type: Option<SideEffectType>,
}
Fields§
§symbol: String
§is_isolated: Option<String>
“TRUE” or “FALSE”, in upper case, default is “FALSE”
list_client_order_id: Option<String>
A unique identifier that will be applied to all orders
side: OrderSide
§quantity: f64
§limit_client_order_id: Option<String>
A unique identifier that will be applied to the limit order
price: f64
§limit_iceberg_qty: Option<f64>
§stop_client_order_id: Option<String>
A unique identifier that will be applied to the stop order
stop_price: f64
§stop_limit_price: Option<f64>
§stop_iceberg_qty: Option<f64>
§stop_limit_time_in_force: Option<TimeInForce>
§new_order_resp_type: Option<OrderResponse>
Default is OrderResponse::ACK
side_effect_type: Option<SideEffectType>
Default is SideEffectType::NoSideEffect
Trait Implementations§
source§impl Clone for MarginOCOOrder
impl Clone for MarginOCOOrder
source§fn clone(&self) -> MarginOCOOrder
fn clone(&self) -> MarginOCOOrder
Returns a copy 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 MarginOCOOrder
impl Debug for MarginOCOOrder
source§impl Default for MarginOCOOrder
impl Default for MarginOCOOrder
source§fn default() -> MarginOCOOrder
fn default() -> MarginOCOOrder
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MarginOCOOrder
impl<'de> Deserialize<'de> for MarginOCOOrder
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 RefUnwindSafe for MarginOCOOrder
impl Send for MarginOCOOrder
impl Sync for MarginOCOOrder
impl Unpin for MarginOCOOrder
impl UnwindSafe for MarginOCOOrder
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