pub struct CancelReplaceOrderParams {Show 16 fields
pub symbol: String,
pub side: BinanceSide,
pub order_type: BinanceSpotOrderType,
pub cancel_replace_mode: BinanceCancelReplaceMode,
pub time_in_force: Option<BinanceTimeInForce>,
pub quantity: Option<String>,
pub quote_order_qty: Option<String>,
pub price: Option<String>,
pub cancel_order_id: Option<i64>,
pub cancel_orig_client_order_id: Option<String>,
pub new_client_order_id: Option<String>,
pub stop_price: Option<String>,
pub trailing_delta: Option<i64>,
pub iceberg_qty: Option<String>,
pub new_order_resp_type: Option<BinanceOrderResponseType>,
pub self_trade_prevention_mode: Option<BinanceSelfTradePreventionMode>,
}Expand description
Query parameters for cancel and replace order.
Fields§
§symbol: StringTrading pair symbol.
side: BinanceSideOrder side.
order_type: BinanceSpotOrderTypeOrder type.
cancel_replace_mode: BinanceCancelReplaceModeCancel/replace mode.
time_in_force: Option<BinanceTimeInForce>Time in force.
quantity: Option<String>Order quantity.
quote_order_qty: Option<String>Quote order quantity.
price: Option<String>Limit price.
cancel_order_id: Option<i64>Order ID to cancel.
cancel_orig_client_order_id: Option<String>Client order ID to cancel.
new_client_order_id: Option<String>New client order ID.
stop_price: Option<String>Stop price.
trailing_delta: Option<i64>Trailing delta.
iceberg_qty: Option<String>Iceberg quantity.
new_order_resp_type: Option<BinanceOrderResponseType>Response type.
self_trade_prevention_mode: Option<BinanceSelfTradePreventionMode>Self-trade prevention mode.
Trait Implementations§
Source§impl Clone for CancelReplaceOrderParams
impl Clone for CancelReplaceOrderParams
Source§fn clone(&self) -> CancelReplaceOrderParams
fn clone(&self) -> CancelReplaceOrderParams
Returns a duplicate 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 CancelReplaceOrderParams
impl Debug for CancelReplaceOrderParams
Auto Trait Implementations§
impl Freeze for CancelReplaceOrderParams
impl RefUnwindSafe for CancelReplaceOrderParams
impl Send for CancelReplaceOrderParams
impl Sync for CancelReplaceOrderParams
impl Unpin for CancelReplaceOrderParams
impl UnwindSafe for CancelReplaceOrderParams
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
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