pub struct CancelAllOrdersRequest {
pub category: Category,
pub symbol: Option<String>,
pub base_coin: Option<String>,
pub settle_coin: Option<String>,
pub order_filter: Option<OrderFilter>,
pub stop_order_type: Option<StopOrderType>,
}Fields§
§category: Category§symbol: Option<String>§base_coin: Option<String>§settle_coin: Option<String>§order_filter: Option<OrderFilter>§stop_order_type: Option<StopOrderType>For futures only: TakeProfit, StopLoss, TrailingStop
Implementations§
Source§impl CancelAllOrdersRequest
impl CancelAllOrdersRequest
pub fn new(category: Category) -> Self
pub fn with_symbol(self, v: String) -> Self
pub fn with_base_coin(self, v: String) -> Self
pub fn with_settle_coin(self, v: String) -> Self
pub fn with_order_filter(self, v: OrderFilter) -> Self
pub fn with_stop_order_type(self, v: StopOrderType) -> Self
Trait Implementations§
Source§impl Debug for CancelAllOrdersRequest
impl Debug for CancelAllOrdersRequest
Auto Trait Implementations§
impl Freeze for CancelAllOrdersRequest
impl RefUnwindSafe for CancelAllOrdersRequest
impl Send for CancelAllOrdersRequest
impl Sync for CancelAllOrdersRequest
impl Unpin for CancelAllOrdersRequest
impl UnsafeUnpin for CancelAllOrdersRequest
impl UnwindSafe for CancelAllOrdersRequest
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