Struct golem_client::api::ProjectClientLive
source · pub struct ProjectClientLive {
pub context: Context,
}
Fields§
§context: Context
Trait Implementations§
source§impl ProjectClient for ProjectClientLive
impl ProjectClient for ProjectClientLive
fn default_get<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Project, Error<ProjectError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
project_name: Option<&'life1 str>
) -> Pin<Box<dyn Future<Output = Result<Vec<Project>, Error<ProjectError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn post<'life0, 'life1, 'async_trait>(
&'life0 self,
value: &'life1 ProjectDataRequest
) -> Pin<Box<dyn Future<Output = Result<Project, Error<ProjectError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn project_id_get<'life0, 'life1, 'async_trait>(
&'life0 self,
project_id: &'life1 Uuid
) -> Pin<Box<dyn Future<Output = Result<Project, Error<ProjectError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn project_id_delete<'life0, 'life1, 'async_trait>(
&'life0 self,
project_id: &'life1 Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteProjectResponse, Error<ProjectError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn project_id_actions_get<'life0, 'life1, 'async_trait>(
&'life0 self,
project_id: &'life1 Uuid
) -> Pin<Box<dyn Future<Output = Result<Vec<ProjectAction>, Error<ProjectError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for ProjectClientLive
impl Send for ProjectClientLive
impl Sync for ProjectClientLive
impl Unpin for ProjectClientLive
impl !UnwindSafe for ProjectClientLive
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