pub struct MarginAllOCOOrder { /* private fields */ }
Expand description
GET /sapi/v1/margin/allOrderList
Retrieves all OCO for a specific margin account based on provided optional parameters
Weight(IP): 200
Example
use binance_spot_connector_rust::margin;
let request = margin::margin_all_oco_order();
Implementations§
source§impl MarginAllOCOOrder
impl MarginAllOCOOrder
pub fn new() -> Self
pub fn is_isolated(self, is_isolated: bool) -> Self
pub fn symbol(self, symbol: &str) -> 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 MarginAllOCOOrder
impl Default for MarginAllOCOOrder
source§impl From<MarginAllOCOOrder> for Request
impl From<MarginAllOCOOrder> for Request
source§fn from(request: MarginAllOCOOrder) -> Request
fn from(request: MarginAllOCOOrder) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MarginAllOCOOrder
impl Send for MarginAllOCOOrder
impl Sync for MarginAllOCOOrder
impl Unpin for MarginAllOCOOrder
impl UnwindSafe for MarginAllOCOOrder
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