Struct golem_client::grant::GrantLive
source · pub struct GrantLive {
pub base_url: Url,
pub allow_insecure: bool,
}
Fields§
§base_url: Url
§allow_insecure: bool
Trait Implementations§
source§impl Grant for GrantLive
impl Grant for GrantLive
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,
Auto Trait Implementations§
impl RefUnwindSafe for GrantLive
impl Send for GrantLive
impl Sync for GrantLive
impl Unpin for GrantLive
impl UnwindSafe for GrantLive
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