pub struct QueryOrderEndpoint<'r> { /* private fields */ }Expand description
Query Margin Account’s Order.
- Weight: 10
Implementations§
Source§impl<'r> QueryOrderEndpoint<'r>
impl<'r> QueryOrderEndpoint<'r>
pub fn new(client: &'r RestApiClient) -> Self
Trait Implementations§
Source§impl Endpoint for QueryOrderEndpoint<'_>
impl Endpoint for QueryOrderEndpoint<'_>
type Response = MarginOrderDetail
type Params = QueryOrderParams
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 QueryOrderEndpoint<'r>
impl<'r> !RefUnwindSafe for QueryOrderEndpoint<'r>
impl<'r> Send for QueryOrderEndpoint<'r>
impl<'r> Sync for QueryOrderEndpoint<'r>
impl<'r> Unpin for QueryOrderEndpoint<'r>
impl<'r> !UnwindSafe for QueryOrderEndpoint<'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