UserKeysApi

Trait UserKeysApi 

Source
pub trait UserKeysApi: Send + Sync {
    // Required methods
    fn get_user_key<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<UserKeyResponseModel, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn post_user_key<'life0, 'async_trait>(
        &'life0 self,
        request_model: UserKeyKeyRequestModel,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn put_user_key<'life0, 'async_trait>(
        &'life0 self,
        request_model: UserKeyKeyRequestModel,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn get_user_key<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<UserKeyResponseModel, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /user-keys

Source

fn post_user_key<'life0, 'async_trait>( &'life0 self, request_model: UserKeyKeyRequestModel, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

POST /user-keys

Source

fn put_user_key<'life0, 'async_trait>( &'life0 self, request_model: UserKeyKeyRequestModel, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

PUT /user-keys

Implementors§