pub struct AccountApiClient { /* private fields */ }Implementations§
Source§impl AccountApiClient
impl AccountApiClient
pub fn new(configuration: ConfigurationRestApi) -> Self
Trait Implementations§
Source§impl AccountApi for AccountApiClient
impl AccountApi for AccountApiClient
fn adjust_cross_margin_max_leverage<'life0, 'async_trait>(
&'life0 self,
params: AdjustCrossMarginMaxLeverageParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<AdjustCrossMarginMaxLeverageResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn disable_isolated_margin_account<'life0, 'async_trait>(
&'life0 self,
params: DisableIsolatedMarginAccountParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<DisableIsolatedMarginAccountResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn enable_isolated_margin_account<'life0, 'async_trait>(
&'life0 self,
params: EnableIsolatedMarginAccountParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<EnableIsolatedMarginAccountResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_bnb_burn_status<'life0, 'async_trait>(
&'life0 self,
params: GetBnbBurnStatusParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetBnbBurnStatusResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_summary_of_margin_account<'life0, 'async_trait>(
&'life0 self,
params: GetSummaryOfMarginAccountParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetSummaryOfMarginAccountResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_cross_isolated_margin_capital_flow<'life0, 'async_trait>(
&'life0 self,
params: QueryCrossIsolatedMarginCapitalFlowParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<Vec<QueryCrossIsolatedMarginCapitalFlowResponseInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_cross_margin_account_details<'life0, 'async_trait>(
&'life0 self,
params: QueryCrossMarginAccountDetailsParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<QueryCrossMarginAccountDetailsResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_cross_margin_fee_data<'life0, 'async_trait>(
&'life0 self,
params: QueryCrossMarginFeeDataParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<Vec<QueryCrossMarginFeeDataResponseInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_enabled_isolated_margin_account_limit<'life0, 'async_trait>(
&'life0 self,
params: QueryEnabledIsolatedMarginAccountLimitParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<QueryEnabledIsolatedMarginAccountLimitResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_isolated_margin_account_info<'life0, 'async_trait>(
&'life0 self,
params: QueryIsolatedMarginAccountInfoParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<QueryIsolatedMarginAccountInfoResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_isolated_margin_fee_data<'life0, 'async_trait>(
&'life0 self,
params: QueryIsolatedMarginFeeDataParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<Vec<QueryIsolatedMarginFeeDataResponseInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl Clone for AccountApiClient
impl Clone for AccountApiClient
Source§fn clone(&self) -> AccountApiClient
fn clone(&self) -> AccountApiClient
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 AccountApiClient
impl !RefUnwindSafe for AccountApiClient
impl !UnwindSafe 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