pub struct MarginOpenOrders { /* private fields */ }
Expand description
GET /sapi/v1/margin/openOrders
- If the
symbol
is not sent, orders for all symbols will be returned in an array. - When all symbols are returned, the number of requests counted against the rate limiter is equal to the number of symbols currently trading on the exchange
- If isIsolated =“TRUE”, symbol must be sent.
Weight(IP): 10
Example
use binance_spot_connector_rust::margin;
let request = margin::margin_open_orders().symbol("BNBUSDT");
Implementations§
source§impl MarginOpenOrders
impl MarginOpenOrders
pub fn new() -> Self
pub fn symbol(self, 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 Default for MarginOpenOrders
impl Default for MarginOpenOrders
source§impl From<MarginOpenOrders> for Request
impl From<MarginOpenOrders> for Request
source§fn from(request: MarginOpenOrders) -> Request
fn from(request: MarginOpenOrders) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MarginOpenOrders
impl Send for MarginOpenOrders
impl Sync for MarginOpenOrders
impl Unpin for MarginOpenOrders
impl UnwindSafe for MarginOpenOrders
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