pub struct AssetManagementApiClient { /* private fields */ }Implementations§
Source§impl AssetManagementApiClient
impl AssetManagementApiClient
pub fn new(configuration: ConfigurationRestApi) -> Self
Trait Implementations§
Source§impl AssetManagementApi for AssetManagementApiClient
impl AssetManagementApi for AssetManagementApiClient
fn futures_transfer_for_sub_account<'life0, 'async_trait>(
&'life0 self,
params: FuturesTransferForSubAccountParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<FuturesTransferForSubAccountResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_detail_on_sub_accounts_futures_account<'life0, 'async_trait>(
&'life0 self,
params: GetDetailOnSubAccountsFuturesAccountParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetDetailOnSubAccountsFuturesAccountResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_detail_on_sub_accounts_futures_account_v2<'life0, 'async_trait>(
&'life0 self,
params: GetDetailOnSubAccountsFuturesAccountV2Params,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetDetailOnSubAccountsFuturesAccountV2Response>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_detail_on_sub_accounts_margin_account<'life0, 'async_trait>(
&'life0 self,
params: GetDetailOnSubAccountsMarginAccountParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetDetailOnSubAccountsMarginAccountResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_move_position_history_for_sub_account<'life0, 'async_trait>(
&'life0 self,
params: GetMovePositionHistoryForSubAccountParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetMovePositionHistoryForSubAccountResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_sub_account_deposit_address<'life0, 'async_trait>(
&'life0 self,
params: GetSubAccountDepositAddressParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetSubAccountDepositAddressResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_sub_account_deposit_history<'life0, 'async_trait>(
&'life0 self,
params: GetSubAccountDepositHistoryParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<Vec<GetSubAccountDepositHistoryResponseInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_summary_of_sub_accounts_futures_account<'life0, 'async_trait>(
&'life0 self,
params: GetSummaryOfSubAccountsFuturesAccountParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetSummaryOfSubAccountsFuturesAccountResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_summary_of_sub_accounts_futures_account_v2<'life0, 'async_trait>(
&'life0 self,
params: GetSummaryOfSubAccountsFuturesAccountV2Params,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetSummaryOfSubAccountsFuturesAccountV2Response>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_summary_of_sub_accounts_margin_account<'life0, 'async_trait>(
&'life0 self,
params: GetSummaryOfSubAccountsMarginAccountParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetSummaryOfSubAccountsMarginAccountResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn margin_transfer_for_sub_account<'life0, 'async_trait>(
&'life0 self,
params: MarginTransferForSubAccountParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<MarginTransferForSubAccountResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn move_position_for_sub_account<'life0, 'async_trait>(
&'life0 self,
params: MovePositionForSubAccountParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<MovePositionForSubAccountResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_sub_account_assets<'life0, 'async_trait>(
&'life0 self,
params: QuerySubAccountAssetsParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<QuerySubAccountAssetsResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_sub_account_assets_asset_management<'life0, 'async_trait>(
&'life0 self,
params: QuerySubAccountAssetsAssetManagementParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<QuerySubAccountAssetsAssetManagementResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_sub_account_futures_asset_transfer_history<'life0, 'async_trait>(
&'life0 self,
params: QuerySubAccountFuturesAssetTransferHistoryParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<QuerySubAccountFuturesAssetTransferHistoryResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_sub_account_spot_asset_transfer_history<'life0, 'async_trait>(
&'life0 self,
params: QuerySubAccountSpotAssetTransferHistoryParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<Vec<QuerySubAccountSpotAssetTransferHistoryResponseInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_sub_account_spot_assets_summary<'life0, 'async_trait>(
&'life0 self,
params: QuerySubAccountSpotAssetsSummaryParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<QuerySubAccountSpotAssetsSummaryResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_universal_transfer_history<'life0, 'async_trait>(
&'life0 self,
params: QueryUniversalTransferHistoryParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<QueryUniversalTransferHistoryResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn sub_account_futures_asset_transfer<'life0, 'async_trait>(
&'life0 self,
params: SubAccountFuturesAssetTransferParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<SubAccountFuturesAssetTransferResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn sub_account_transfer_history<'life0, 'async_trait>(
&'life0 self,
params: SubAccountTransferHistoryParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<Vec<SubAccountTransferHistoryResponseInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn transfer_to_master<'life0, 'async_trait>(
&'life0 self,
params: TransferToMasterParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<TransferToMasterResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn transfer_to_sub_account_of_same_master<'life0, 'async_trait>(
&'life0 self,
params: TransferToSubAccountOfSameMasterParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<TransferToSubAccountOfSameMasterResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn universal_transfer<'life0, 'async_trait>(
&'life0 self,
params: UniversalTransferParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<UniversalTransferResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl Clone for AssetManagementApiClient
impl Clone for AssetManagementApiClient
Source§fn clone(&self) -> AssetManagementApiClient
fn clone(&self) -> AssetManagementApiClient
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 AssetManagementApiClient
impl !RefUnwindSafe for AssetManagementApiClient
impl !UnwindSafe for AssetManagementApiClient
impl Send for AssetManagementApiClient
impl Sync for AssetManagementApiClient
impl Unpin for AssetManagementApiClient
impl UnsafeUnpin for AssetManagementApiClient
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