pub struct MarketDataApiClient { /* private fields */ }Implementations§
Source§impl MarketDataApiClient
impl MarketDataApiClient
pub fn new(configuration: ConfigurationRestApi) -> Self
Trait Implementations§
Source§impl Clone for MarketDataApiClient
impl Clone for MarketDataApiClient
Source§fn clone(&self) -> MarketDataApiClient
fn clone(&self) -> MarketDataApiClient
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 moreSource§impl Debug for MarketDataApiClient
impl Debug for MarketDataApiClient
Source§impl MarketDataApi for MarketDataApiClient
impl MarketDataApi for MarketDataApiClient
fn aggregated_trades<'life0, 'async_trait>(
&'life0 self,
params: AggregatedTradesParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<AggregatedTradesResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_exchange_info<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetExchangeInfoResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn klines<'life0, 'async_trait>(
&'life0 self,
params: KlinesParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<KlinesResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ticker<'life0, 'async_trait>(
&'life0 self,
params: TickerParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<TickerResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn token_list<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<TokenListResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for MarketDataApiClient
impl !RefUnwindSafe for MarketDataApiClient
impl !UnwindSafe for MarketDataApiClient
impl Send for MarketDataApiClient
impl Sync for MarketDataApiClient
impl Unpin for MarketDataApiClient
impl UnsafeUnpin for MarketDataApiClient
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