pub trait Api {
    fn client(&self) -> &Client;
    fn auth(&self) -> &Auth;
    fn new(auth: Auth) -> Self
    where
        Self: Sized
; fn request<'life0, 'life1, 'life2, 'async_trait, T>(
        &'life0 self,
        method: Method,
        url: &'life1 str,
        body: Body<'life2, T>
    ) -> Pin<Box<dyn Future<Output = Result<Response>> + 'async_trait>>
    where
        T: 'async_trait + Serialize + ?Sized,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
, { ... } }

Required Methods

Provided Methods

Implementors