Trait InstallationsApi
Source pub trait InstallationsApi: Send + Sync {
// Required methods
fn get<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<InstallationResponseModel, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn post<'a, 'life0, 'async_trait>(
&'life0 self,
installation_request_model: Option<InstallationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<InstallationResponseModel, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
}