Trait ApiDefinitionClient
Source pub trait ApiDefinitionClient {
// Required methods
fn get<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
project_id: &'life1 Uuid,
api_definition_id: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Result<Vec<ApiDefinition>, Error<ApiDefinitionError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn put<'life0, 'life1, 'async_trait>(
&'life0 self,
value: &'life1 ApiDefinition,
) -> Pin<Box<dyn Future<Output = Result<ApiDefinition, Error<ApiDefinitionError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn delete<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
project_id: &'life1 Uuid,
api_definition_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<String, Error<ApiDefinitionError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}