pub struct AssetApiClient { /* private fields */ }Implementations§
Source§impl AssetApiClient
impl AssetApiClient
pub fn new(configuration: ConfigurationRestApi) -> Self
Trait Implementations§
Source§impl AssetApi for AssetApiClient
impl AssetApi for AssetApiClient
fn asset_detail<'life0, 'async_trait>(
&'life0 self,
params: AssetDetailParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<AssetDetailResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn asset_dividend_record<'life0, 'async_trait>(
&'life0 self,
params: AssetDividendRecordParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<AssetDividendRecordResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn dust_convert<'life0, 'async_trait>(
&'life0 self,
params: DustConvertParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<DustConvertResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn dust_convertible_assets<'life0, 'async_trait>(
&'life0 self,
params: DustConvertibleAssetsParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<DustConvertibleAssetsResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn dust_transfer<'life0, 'async_trait>(
&'life0 self,
params: DustTransferParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<DustTransferResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn dustlog<'life0, 'async_trait>(
&'life0 self,
params: DustlogParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<DustlogResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn funding_wallet<'life0, 'async_trait>(
&'life0 self,
params: FundingWalletParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<Vec<FundingWalletResponseInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_assets_that_can_be_converted_into_bnb<'life0, 'async_trait>(
&'life0 self,
params: GetAssetsThatCanBeConvertedIntoBnbParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetAssetsThatCanBeConvertedIntoBnbResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_cloud_mining_payment_and_refund_history<'life0, 'async_trait>(
&'life0 self,
params: GetCloudMiningPaymentAndRefundHistoryParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetCloudMiningPaymentAndRefundHistoryResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_open_symbol_list<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<Vec<GetOpenSymbolListResponseInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_user_delegation_history<'life0, 'async_trait>(
&'life0 self,
params: QueryUserDelegationHistoryParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<QueryUserDelegationHistoryResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_user_universal_transfer_history<'life0, 'async_trait>(
&'life0 self,
params: QueryUserUniversalTransferHistoryParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<QueryUserUniversalTransferHistoryResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_user_wallet_balance<'life0, 'async_trait>(
&'life0 self,
params: QueryUserWalletBalanceParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<Vec<QueryUserWalletBalanceResponseInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn toggle_bnb_burn_on_spot_trade_and_margin_interest<'life0, 'async_trait>(
&'life0 self,
params: ToggleBnbBurnOnSpotTradeAndMarginInterestParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<ToggleBnbBurnOnSpotTradeAndMarginInterestResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn trade_fee<'life0, 'async_trait>(
&'life0 self,
params: TradeFeeParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<Vec<TradeFeeResponseInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn user_asset<'life0, 'async_trait>(
&'life0 self,
params: UserAssetParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<Vec<UserAssetResponseInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn user_universal_transfer<'life0, 'async_trait>(
&'life0 self,
params: UserUniversalTransferParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<UserUniversalTransferResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl Clone for AssetApiClient
impl Clone for AssetApiClient
Source§fn clone(&self) -> AssetApiClient
fn clone(&self) -> AssetApiClient
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 AssetApiClient
impl !RefUnwindSafe for AssetApiClient
impl !UnwindSafe for AssetApiClient
impl Send for AssetApiClient
impl Sync for AssetApiClient
impl Unpin for AssetApiClient
impl UnsafeUnpin for AssetApiClient
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