Struct binance_spot_connector_rust::trade::all_orders::AllOrders
source · pub struct AllOrders { /* private fields */ }
Expand description
GET /api/v3/allOrders
Get all account orders; active, canceled, or filled..
- If
orderId
is set, it will get orders >= thatorderId
. Otherwise most recent orders are returned. - For some historical orders
cummulativeQuoteQty
will be < 0, meaning the data is not available at this time. - If
startTime
and/orendTime
provided,orderId
is not required
Weight(IP): 10
Example
use binance_spot_connector_rust::trade;
let request = trade::all_orders("BNBUSDT").limit(500);
Implementations§
source§impl AllOrders
impl AllOrders
pub fn new(symbol: &str) -> Self
pub fn order_id(self, order_id: u64) -> Self
pub fn start_time(self, start_time: u64) -> Self
pub fn end_time(self, end_time: u64) -> Self
pub fn limit(self, limit: u32) -> Self
pub fn recv_window(self, recv_window: u64) -> Self
pub fn credentials(self, credentials: &Credentials) -> Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for AllOrders
impl Send for AllOrders
impl Sync for AllOrders
impl Unpin for AllOrders
impl UnwindSafe for AllOrders
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