pub trait Grant {
// Required methods
fn get_grants<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
account_id: &'life1 str,
authorization: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<Vec<Role>, GrantError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn get_grant<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
account_id: &'life1 str,
role: &'life2 str,
authorization: &'life3 str
) -> Pin<Box<dyn Future<Output = Result<Role, GrantError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait;
fn put_grant<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
account_id: &'life1 str,
role: &'life2 str,
authorization: &'life3 str
) -> Pin<Box<dyn Future<Output = Result<Role, GrantError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait;
fn delete_grant<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
account_id: &'life1 str,
role: &'life2 str,
authorization: &'life3 str
) -> Pin<Box<dyn Future<Output = Result<(), GrantError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait;
}