pub struct GetOCOOrders { /* private fields */ }
Expand description
GET /api/v3/allOrderList
Retrieves all OCO based on provided optional parameters
Weight(IP): 10
Example
use binance_spot_connector_rust::trade;
let request = trade::get_oco_orders().from_id(11).limit(500);
Implementations§
source§impl GetOCOOrders
impl GetOCOOrders
pub fn new() -> Self
pub fn from_id(self, from_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§
source§impl Default for GetOCOOrders
impl Default for GetOCOOrders
source§impl From<GetOCOOrders> for Request
impl From<GetOCOOrders> for Request
source§fn from(request: GetOCOOrders) -> Request
fn from(request: GetOCOOrders) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for GetOCOOrders
impl Send for GetOCOOrders
impl Sync for GetOCOOrders
impl Unpin for GetOCOOrders
impl UnwindSafe for GetOCOOrders
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