pub struct AccountManagementApiClient { /* private fields */ }Implementations§
Source§impl AccountManagementApiClient
impl AccountManagementApiClient
pub fn new(configuration: ConfigurationRestApi) -> Self
Trait Implementations§
Source§impl AccountManagementApi for AccountManagementApiClient
impl AccountManagementApi for AccountManagementApiClient
fn create_a_virtual_sub_account<'life0, 'async_trait>(
&'life0 self,
params: CreateAVirtualSubAccountParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<CreateAVirtualSubAccountResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn enable_futures_for_sub_account<'life0, 'async_trait>(
&'life0 self,
params: EnableFuturesForSubAccountParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<EnableFuturesForSubAccountResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn enable_options_for_sub_account<'life0, 'async_trait>(
&'life0 self,
params: EnableOptionsForSubAccountParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<EnableOptionsForSubAccountResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_futures_position_risk_of_sub_account<'life0, 'async_trait>(
&'life0 self,
params: GetFuturesPositionRiskOfSubAccountParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<Vec<GetFuturesPositionRiskOfSubAccountV2ResponseFuturePositionRiskVosInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_futures_position_risk_of_sub_account_v2<'life0, 'async_trait>(
&'life0 self,
params: GetFuturesPositionRiskOfSubAccountV2Params,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetFuturesPositionRiskOfSubAccountV2Response>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_sub_accounts_status_on_margin_or_futures<'life0, 'async_trait>(
&'life0 self,
params: GetSubAccountsStatusOnMarginOrFuturesParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<Vec<GetSubAccountsStatusOnMarginOrFuturesResponseInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_sub_account_list<'life0, 'async_trait>(
&'life0 self,
params: QuerySubAccountListParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<QuerySubAccountListResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_sub_account_transaction_statistics<'life0, 'async_trait>(
&'life0 self,
params: QuerySubAccountTransactionStatisticsParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<QuerySubAccountTransactionStatisticsResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl Clone for AccountManagementApiClient
impl Clone for AccountManagementApiClient
Source§fn clone(&self) -> AccountManagementApiClient
fn clone(&self) -> AccountManagementApiClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for AccountManagementApiClient
impl !RefUnwindSafe for AccountManagementApiClient
impl !UnwindSafe for AccountManagementApiClient
impl Send for AccountManagementApiClient
impl Sync for AccountManagementApiClient
impl Unpin for AccountManagementApiClient
impl UnsafeUnpin for AccountManagementApiClient
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