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§
Sourcefn 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 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
Sourcefn 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 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
Sourcefn 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,
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