pub struct GeneralApi<'a, S>where
S: Signature<'a>,{ /* private fields */ }Implementations§
Source§impl<'a, S> GeneralApi<'a, S>where
S: Signature<'a>,
impl<'a, S> GeneralApi<'a, S>where
S: Signature<'a>,
pub async fn new(client: Client<'a, S>) -> GeneralApi<'a, S>
pub async fn ping(&self) -> Result<EmptyResponse, BinanceError>
pub async fn get_server_time(&self) -> Result<ServerTimeResponse, BinanceError>
pub async fn get_exchange_info( &self, params: &ExchangeInformationParams<'a>, ) -> Result<ExchangeInformationResponse, BinanceError>
Auto Trait Implementations§
impl<'a, S> !RefUnwindSafe for GeneralApi<'a, S>
impl<'a, S> !UnwindSafe for GeneralApi<'a, S>
impl<'a, S> Freeze for GeneralApi<'a, S>where
S: Freeze,
impl<'a, S> Send for GeneralApi<'a, S>where
S: Send,
impl<'a, S> Sync for GeneralApi<'a, S>where
S: Sync,
impl<'a, S> Unpin for GeneralApi<'a, S>where
S: Unpin,
impl<'a, S> UnsafeUnpin for GeneralApi<'a, S>where
S: UnsafeUnpin,
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