Struct binance::rest_model::MarginOCOOrder [−][src]
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
Returns the “default value” for a type. Read more
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
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more