pub trait ApiDefinitionClient {
    // Required methods
    fn oas_put<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<ApiDefinition, Error<ApiDefinitionError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        api_definition_id: &'life1 str,
        version: &'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,
        api_definition_id: &'life1 str,
        version: &'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;
    fn all_get<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Vec<ApiDefinition>, Error<ApiDefinitionError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

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

source

fn get<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, api_definition_id: &'life1 str, version: &'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,

source

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,

source

fn delete<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, api_definition_id: &'life1 str, version: &'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,

source

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

Implementors§