pub struct QueryAllOcoEndpoint<'r> { /* private fields */ }Expand description
Retrieves all OCO for a specific margin account based on provided optional parameters.
- Weight: 200
Implementations§
Source§impl<'r> QueryAllOcoEndpoint<'r>
impl<'r> QueryAllOcoEndpoint<'r>
pub fn new(client: &'r RestApiClient) -> Self
Trait Implementations§
Source§impl Endpoint for QueryAllOcoEndpoint<'_>
impl Endpoint for QueryAllOcoEndpoint<'_>
type Params = QueryAllOcoParams
type Response = Vec<MarginOcoOrder>
fn client(&self) -> &RestApiClient
fn path(&self) -> &str
fn method(&self) -> Method
fn security_type(&self) -> SecurityType
fn request<'life0, 'async_trait>(
&'life0 self,
params: Self::Params,
) -> Pin<Box<dyn Future<Output = Result<Self::Response, RestApiError>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<'r> Freeze for QueryAllOcoEndpoint<'r>
impl<'r> !RefUnwindSafe for QueryAllOcoEndpoint<'r>
impl<'r> Send for QueryAllOcoEndpoint<'r>
impl<'r> Sync for QueryAllOcoEndpoint<'r>
impl<'r> Unpin for QueryAllOcoEndpoint<'r>
impl<'r> !UnwindSafe for QueryAllOcoEndpoint<'r>
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