pub struct MarginOpenOCOOrder { /* private fields */ }
Expand description
GET /sapi/v1/margin/openOrderList
Weight(IP): 10
Example
use binance_spot_connector_rust::margin;
let request = margin::margin_open_oco_order().is_isolated(true).symbol("BNBUSDT");
Implementations§
source§impl MarginOpenOCOOrder
impl MarginOpenOCOOrder
pub fn new() -> Self
pub fn is_isolated(self, is_isolated: bool) -> Self
pub fn symbol(self, symbol: &str) -> Self
pub fn recv_window(self, recv_window: u64) -> Self
pub fn credentials(self, credentials: &Credentials) -> Self
Trait Implementations§
source§impl Default for MarginOpenOCOOrder
impl Default for MarginOpenOCOOrder
source§impl From<MarginOpenOCOOrder> for Request
impl From<MarginOpenOCOOrder> for Request
source§fn from(request: MarginOpenOCOOrder) -> Request
fn from(request: MarginOpenOCOOrder) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MarginOpenOCOOrder
impl Send for MarginOpenOCOOrder
impl Sync for MarginOpenOCOOrder
impl Unpin for MarginOpenOCOOrder
impl UnwindSafe for MarginOpenOCOOrder
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