pub struct AccountApiClient { /* private fields */ }Implementations§
Source§impl AccountApiClient
impl AccountApiClient
pub fn new(websocket_api_base: Arc<WebsocketApi>) -> Self
Trait Implementations§
Source§impl AccountApi for AccountApiClient
impl AccountApi for AccountApiClient
fn account_commission<'life0, 'async_trait>(
&'life0 self,
params: AccountCommissionParams,
) -> Pin<Box<dyn Future<Output = Result<WebsocketApiResponse<Box<AccountCommissionResponseResult>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn account_rate_limits_orders<'life0, 'async_trait>(
&'life0 self,
params: AccountRateLimitsOrdersParams,
) -> Pin<Box<dyn Future<Output = Result<WebsocketApiResponse<Vec<AccountRateLimitsOrdersResponseResultInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn account_status<'life0, 'async_trait>(
&'life0 self,
params: AccountStatusParams,
) -> Pin<Box<dyn Future<Output = Result<WebsocketApiResponse<Box<AccountStatusResponseResult>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn all_order_lists<'life0, 'async_trait>(
&'life0 self,
params: AllOrderListsParams,
) -> Pin<Box<dyn Future<Output = Result<WebsocketApiResponse<Vec<AllOrderListsResponseResultInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn all_orders<'life0, 'async_trait>(
&'life0 self,
params: AllOrdersParams,
) -> Pin<Box<dyn Future<Output = Result<WebsocketApiResponse<Vec<AllOrdersResponseResultInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn my_allocations<'life0, 'async_trait>(
&'life0 self,
params: MyAllocationsParams,
) -> Pin<Box<dyn Future<Output = Result<WebsocketApiResponse<Vec<MyAllocationsResponseResultInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn my_filters<'life0, 'async_trait>(
&'life0 self,
params: MyFiltersParams,
) -> Pin<Box<dyn Future<Output = Result<WebsocketApiResponse<MyFiltersResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn my_prevented_matches<'life0, 'async_trait>(
&'life0 self,
params: MyPreventedMatchesParams,
) -> Pin<Box<dyn Future<Output = Result<WebsocketApiResponse<Vec<MyPreventedMatchesResponseResultInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn my_trades<'life0, 'async_trait>(
&'life0 self,
params: MyTradesParams,
) -> Pin<Box<dyn Future<Output = Result<WebsocketApiResponse<Vec<MyTradesResponseResultInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn open_order_lists_status<'life0, 'async_trait>(
&'life0 self,
params: OpenOrderListsStatusParams,
) -> Pin<Box<dyn Future<Output = Result<WebsocketApiResponse<Vec<OpenOrderListsStatusResponseResultInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn open_orders_status<'life0, 'async_trait>(
&'life0 self,
params: OpenOrdersStatusParams,
) -> Pin<Box<dyn Future<Output = Result<WebsocketApiResponse<Vec<OpenOrdersStatusResponseResultInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn order_amendments<'life0, 'async_trait>(
&'life0 self,
params: OrderAmendmentsParams,
) -> Pin<Box<dyn Future<Output = Result<WebsocketApiResponse<Vec<OrderAmendmentsResponseResultInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn order_list_status<'life0, 'async_trait>(
&'life0 self,
params: OrderListStatusParams,
) -> Pin<Box<dyn Future<Output = Result<WebsocketApiResponse<Box<OrderListStatusResponseResult>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn order_status<'life0, 'async_trait>(
&'life0 self,
params: OrderStatusParams,
) -> Pin<Box<dyn Future<Output = Result<WebsocketApiResponse<Box<OrderStatusResponseResult>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for AccountApiClient
impl !UnwindSafe for AccountApiClient
impl Freeze for AccountApiClient
impl Send for AccountApiClient
impl Sync for AccountApiClient
impl Unpin for AccountApiClient
impl UnsafeUnpin for AccountApiClient
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