Trait golem_cloud_client::api::GrantClient

source ·
pub trait GrantClient {
    // Required methods
    fn get_account_grants<'life0, 'life1, 'async_trait>(
        &'life0 self,
        account_id: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Role>, Error<GrantError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn get_account_grant<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        account_id: &'life1 str,
        role: &'life2 Role,
    ) -> Pin<Box<dyn Future<Output = Result<Role, Error<GrantError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn create_account_grant<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        account_id: &'life1 str,
        role: &'life2 Role,
    ) -> Pin<Box<dyn Future<Output = Result<Role, Error<GrantError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn delete_account_grant<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        account_id: &'life1 str,
        role: &'life2 Role,
    ) -> Pin<Box<dyn Future<Output = Result<DeleteGrantResponse, Error<GrantError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

source

fn get_account_grants<'life0, 'life1, 'async_trait>( &'life0 self, account_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Vec<Role>, Error<GrantError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn get_account_grant<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, account_id: &'life1 str, role: &'life2 Role, ) -> Pin<Box<dyn Future<Output = Result<Role, Error<GrantError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source

fn create_account_grant<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, account_id: &'life1 str, role: &'life2 Role, ) -> Pin<Box<dyn Future<Output = Result<Role, Error<GrantError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source

fn delete_account_grant<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, account_id: &'life1 str, role: &'life2 Role, ) -> Pin<Box<dyn Future<Output = Result<DeleteGrantResponse, Error<GrantError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§