Struct golem_cloud_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 get_default_project<'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_projects<'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 create_project<'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 get_project<'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 delete_project<'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 get_project_actions<'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 Freeze for ProjectClientLive
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