Struct golem_client::api::ApiDefinitionClientLive
source · pub struct ApiDefinitionClientLive {
pub context: Context,
}
Fields§
§context: Context
Trait Implementations§
source§impl ApiDefinitionClient for ApiDefinitionClientLive
impl ApiDefinitionClient for ApiDefinitionClientLive
fn oas_put<'life0, 'life1, 'async_trait>(
&'life0 self,
value: &'life1 Value
) -> Pin<Box<dyn Future<Output = Result<HttpApiDefinition, Error<ApiDefinitionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: '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<HttpApiDefinition>, 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 HttpApiDefinition
) -> Pin<Box<dyn Future<Output = Result<HttpApiDefinition, Error<ApiDefinitionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn post<'life0, 'life1, 'async_trait>(
&'life0 self,
value: &'life1 HttpApiDefinition
) -> Pin<Box<dyn Future<Output = Result<HttpApiDefinition, 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<HttpApiDefinition>, Error<ApiDefinitionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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