Trait golem_cloud_client::api::ProjectGrantClient

source ·
pub trait ProjectGrantClient {
    // Required methods
    fn get_project_grants<'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 create_project_grant<'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 get_project_grant<'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 delete_project_grant<'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;
}

Required Methods§

source

fn get_project_grants<'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,

source

fn create_project_grant<'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,

source

fn get_project_grant<'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,

source

fn delete_project_grant<'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,

Implementors§