pub struct NewOcoOrderListParams {Show 18 fields
pub symbol: String,
pub list_client_order_id: Option<String>,
pub side: BinanceSide,
pub quantity: String,
pub above_type: BinanceSpotOrderType,
pub above_client_order_id: Option<String>,
pub above_iceberg_qty: Option<String>,
pub above_price: Option<String>,
pub above_stop_price: Option<String>,
pub above_time_in_force: Option<BinanceTimeInForce>,
pub below_type: BinanceSpotOrderType,
pub below_client_order_id: Option<String>,
pub below_iceberg_qty: Option<String>,
pub below_price: Option<String>,
pub below_stop_price: Option<String>,
pub below_time_in_force: Option<BinanceTimeInForce>,
pub new_order_resp_type: Option<BinanceOrderResponseType>,
pub self_trade_prevention_mode: Option<BinanceSelfTradePreventionMode>,
}Expand description
Query parameters for new OCO order list.
Fields§
§symbol: StringTrading pair symbol.
list_client_order_id: Option<String>Client order ID for the entire list.
side: BinanceSideOrder side.
quantity: StringQuantity for both legs.
above_type: BinanceSpotOrderTypeAbove leg order type.
above_client_order_id: Option<String>Client order ID for the above leg.
above_iceberg_qty: Option<String>Iceberg quantity for the above leg.
above_price: Option<String>Limit price for the above leg.
above_stop_price: Option<String>Stop price for the above leg.
above_time_in_force: Option<BinanceTimeInForce>Time in force for the above leg.
below_type: BinanceSpotOrderTypeBelow leg order type.
below_client_order_id: Option<String>Client order ID for the below leg.
below_iceberg_qty: Option<String>Iceberg quantity for the below leg.
below_price: Option<String>Limit price for the below leg.
below_stop_price: Option<String>Stop price for the below leg.
below_time_in_force: Option<BinanceTimeInForce>Time in force for the below leg.
new_order_resp_type: Option<BinanceOrderResponseType>Response type.
self_trade_prevention_mode: Option<BinanceSelfTradePreventionMode>Self-trade prevention mode.
Trait Implementations§
Source§impl Clone for NewOcoOrderListParams
impl Clone for NewOcoOrderListParams
Source§fn clone(&self) -> NewOcoOrderListParams
fn clone(&self) -> NewOcoOrderListParams
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 NewOcoOrderListParams
impl Debug for NewOcoOrderListParams
Auto Trait Implementations§
impl Freeze for NewOcoOrderListParams
impl RefUnwindSafe for NewOcoOrderListParams
impl Send for NewOcoOrderListParams
impl Sync for NewOcoOrderListParams
impl Unpin for NewOcoOrderListParams
impl UnsafeUnpin for NewOcoOrderListParams
impl UnwindSafe for NewOcoOrderListParams
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more