Struct binance_spot_connector_rust::trade::get_order::GetOrder
source · pub struct GetOrder { /* private fields */ }
Expand description
GET /api/v3/order
Check an order’s status.
- Either
orderId
ororigClientOrderId
must be sent. - For some historical orders
cummulativeQuoteQty
will be < 0, meaning the data is not available at this time.
Weight(IP): 2
Example
use binance_spot_connector_rust::trade;
let request = trade::get_order("BNBUSDT").order_id(11);
Implementations§
source§impl GetOrder
impl GetOrder
pub fn new(symbol: &str) -> Self
pub fn order_id(self, order_id: u64) -> Self
pub fn orig_client_order_id(self, orig_client_order_id: &str) -> 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 GetOrder
impl Send for GetOrder
impl Sync for GetOrder
impl Unpin for GetOrder
impl UnwindSafe for GetOrder
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