Struct binance_spot_connector_rust::trade::open_orders::OpenOrders
source · pub struct OpenOrders { /* private fields */ }
Expand description
GET /api/v3/openOrders
Get all open orders on a symbol. Careful when accessing this with no symbol.
Weight(IP):
3
for a single symbol;40
when the symbol parameter is omitted;
Example
use binance_spot_connector_rust::trade;
let request = trade::open_orders().symbol("BNBUSDT");
Implementations§
source§impl OpenOrders
impl OpenOrders
pub fn new() -> 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 OpenOrders
impl Default for OpenOrders
source§impl From<OpenOrders> for Request
impl From<OpenOrders> for Request
source§fn from(request: OpenOrders) -> Request
fn from(request: OpenOrders) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for OpenOrders
impl Send for OpenOrders
impl Sync for OpenOrders
impl Unpin for OpenOrders
impl UnwindSafe for OpenOrders
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