Struct golem_client::api::ProjectGrantClientLive
source · pub struct ProjectGrantClientLive {
pub context: Context,
}
Fields§
§context: Context
Trait Implementations§
source§impl ProjectGrantClient for ProjectGrantClientLive
impl ProjectGrantClient for ProjectGrantClientLive
fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
project_id: &'life1 Uuid
) -> Pin<Box<dyn Future<Output = Result<Vec<ProjectGrant>, Error<ProjectGrantError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn post<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
project_id: &'life1 Uuid,
value: &'life2 ProjectGrantDataRequest
) -> Pin<Box<dyn Future<Output = Result<ProjectGrant, Error<ProjectGrantError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn grant_id_get<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
project_id: &'life1 Uuid,
grant_id: &'life2 Uuid
) -> Pin<Box<dyn Future<Output = Result<ProjectGrant, Error<ProjectGrantError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn grant_id_delete<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
project_id: &'life1 Uuid,
grant_id: &'life2 Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteProjectGrantResponse, Error<ProjectGrantError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for ProjectGrantClientLive
impl Send for ProjectGrantClientLive
impl Sync for ProjectGrantClientLive
impl Unpin for ProjectGrantClientLive
impl !UnwindSafe for ProjectGrantClientLive
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