pub struct ApiDefinitionClientLive {
pub context: Context,
}
Fields§
§context: Context
Trait Implementations§
source§impl ApiDefinitionClient for ApiDefinitionClientLive
impl ApiDefinitionClient for ApiDefinitionClientLive
fn import_open_api<'life0, 'life1, 'async_trait>(
&'life0 self,
value: &'life1 Value,
) -> Pin<Box<dyn Future<Output = Result<HttpApiDefinitionWithTypeInfo, Error<ApiDefinitionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_definitions<'life0, 'life1, 'async_trait>(
&'life0 self,
api_definition_id: Option<&'life1 str>,
) -> Pin<Box<dyn Future<Output = Result<Vec<HttpApiDefinitionWithTypeInfo>, Error<ApiDefinitionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create_definition<'life0, 'life1, 'async_trait>(
&'life0 self,
value: &'life1 HttpApiDefinitionRequest,
) -> Pin<Box<dyn Future<Output = Result<HttpApiDefinitionWithTypeInfo, Error<ApiDefinitionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_definition<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
id: &'life1 str,
version: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<HttpApiDefinitionWithTypeInfo, Error<ApiDefinitionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn update_definition<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
id: &'life1 str,
version: &'life2 str,
value: &'life3 HttpApiDefinitionRequest,
) -> Pin<Box<dyn Future<Output = Result<HttpApiDefinitionWithTypeInfo, Error<ApiDefinitionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn delete_definition<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
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,
Auto Trait Implementations§
impl Freeze for ApiDefinitionClientLive
impl !RefUnwindSafe for ApiDefinitionClientLive
impl Send for ApiDefinitionClientLive
impl Sync for ApiDefinitionClientLive
impl Unpin for ApiDefinitionClientLive
impl !UnwindSafe for ApiDefinitionClientLive
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more