Struct binance_spot_connector_rust::margin::margin_cancel_open_orders::MarginCancelOpenOrders
source · pub struct MarginCancelOpenOrders { /* private fields */ }
Expand description
DELETE /sapi/v1/margin/openOrders
- Cancels all active orders on a symbol for margin account.
- This includes OCO orders.
Weight(IP): 1
Example
use binance_spot_connector_rust::margin;
let request = margin::margin_cancel_open_orders("BNBUSDT");
Implementations§
source§impl MarginCancelOpenOrders
impl MarginCancelOpenOrders
pub fn new(symbol: &str) -> Self
pub fn is_isolated(self, is_isolated: bool) -> Self
pub fn recv_window(self, recv_window: u64) -> Self
pub fn credentials(self, credentials: &Credentials) -> Self
Trait Implementations§
source§impl From<MarginCancelOpenOrders> for Request
impl From<MarginCancelOpenOrders> for Request
source§fn from(request: MarginCancelOpenOrders) -> Request
fn from(request: MarginCancelOpenOrders) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MarginCancelOpenOrders
impl Send for MarginCancelOpenOrders
impl Sync for MarginCancelOpenOrders
impl Unpin for MarginCancelOpenOrders
impl UnwindSafe for MarginCancelOpenOrders
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