pub trait ProjectGrant {
    // Required methods
    fn get_project_grants<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        project_id: &'life1 str,
        authorization: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<ProjectGrant>, ProjectGrantError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn get_project_grant<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        project_id: &'life1 str,
        grant_id: &'life2 str,
        authorization: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<ProjectGrant, ProjectGrantError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
    fn post_project_grant<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        project_id: &'life1 str,
        field0: ProjectGrantDataRequest,
        authorization: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<ProjectGrant, ProjectGrantError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn post_project_grant_with_actions<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        project_id: &'life1 str,
        field0: ProjectGrantDataWithProjectActions,
        authorization: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<ProjectGrant, ProjectGrantError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn delete_grant<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        project_id: &'life1 str,
        grant_id: &'life2 str,
        authorization: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), ProjectGrantError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
}

Required Methods§

source

fn get_project_grants<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, project_id: &'life1 str, authorization: &'life2 str ) -> Pin<Box<dyn Future<Output = Result<Vec<ProjectGrant>, 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, 'life3, 'async_trait>( &'life0 self, project_id: &'life1 str, grant_id: &'life2 str, authorization: &'life3 str ) -> Pin<Box<dyn Future<Output = Result<ProjectGrant, ProjectGrantError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

source

fn post_project_grant<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, project_id: &'life1 str, field0: ProjectGrantDataRequest, authorization: &'life2 str ) -> Pin<Box<dyn Future<Output = Result<ProjectGrant, ProjectGrantError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source

fn post_project_grant_with_actions<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, project_id: &'life1 str, field0: ProjectGrantDataWithProjectActions, authorization: &'life2 str ) -> Pin<Box<dyn Future<Output = Result<ProjectGrant, ProjectGrantError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source

fn delete_grant<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, project_id: &'life1 str, grant_id: &'life2 str, authorization: &'life3 str ) -> Pin<Box<dyn Future<Output = Result<(), ProjectGrantError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Implementors§