Struct golem_client::api::GrantClientLive
source · pub struct GrantClientLive {
pub context: Context,
}
Fields§
§context: Context
Trait Implementations§
source§impl GrantClient for GrantClientLive
impl GrantClient for GrantClientLive
fn get<'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 role_get<'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 role_put<'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 role_delete<'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,
Auto Trait Implementations§
impl !RefUnwindSafe for GrantClientLive
impl Send for GrantClientLive
impl Sync for GrantClientLive
impl Unpin for GrantClientLive
impl !UnwindSafe for GrantClientLive
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