pub struct GeneralApiClient { /* private fields */ }Implementations§
Source§impl GeneralApiClient
impl GeneralApiClient
pub fn new(websocket_api_base: Arc<WebsocketApi>) -> Self
Trait Implementations§
Source§impl Clone for GeneralApiClient
impl Clone for GeneralApiClient
Source§fn clone(&self) -> GeneralApiClient
fn clone(&self) -> GeneralApiClient
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 GeneralApi for GeneralApiClient
impl GeneralApi for GeneralApiClient
fn exchange_info<'life0, 'async_trait>(
&'life0 self,
params: ExchangeInfoParams,
) -> Pin<Box<dyn Future<Output = Result<WebsocketApiResponse<Box<ExchangeInfoResponseResult>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execution_rules<'life0, 'async_trait>(
&'life0 self,
params: ExecutionRulesParams,
) -> Pin<Box<dyn Future<Output = Result<WebsocketApiResponse<Box<ExecutionRulesResponseResult>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ping<'life0, 'async_trait>(
&'life0 self,
params: PingParams,
) -> Pin<Box<dyn Future<Output = Result<WebsocketApiResponse<Value>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn time<'life0, 'async_trait>(
&'life0 self,
params: TimeParams,
) -> Pin<Box<dyn Future<Output = Result<WebsocketApiResponse<Box<TimeResponseResult>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for GeneralApiClient
impl !UnwindSafe for GeneralApiClient
impl Freeze for GeneralApiClient
impl Send for GeneralApiClient
impl Sync for GeneralApiClient
impl Unpin for GeneralApiClient
impl UnsafeUnpin for GeneralApiClient
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