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<GetError>>> + 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<PostError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
}
Required Methods§
Sourcefn get<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<InstallationResponseModel, Error<GetError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<InstallationResponseModel, Error<GetError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /installations/{id}
Sourcefn post<'a, 'life0, 'async_trait>(
&'life0 self,
installation_request_model: Option<InstallationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<InstallationResponseModel, Error<PostError>>> + 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<PostError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /installations