Struct golem_client::token::TokenLive
source · pub struct TokenLive {
pub base_url: Url,
}
Fields§
§base_url: Url
Trait Implementations§
source§impl Token for TokenLive
impl Token for TokenLive
fn get_tokens<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, account_id: &'life1 str, authorization: &'life2 str ) -> Pin<Box<dyn Future<Output = Result<Vec<Token>, TokenError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,
fn get_token<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, account_id: &'life1 str, token_id: Uuid, authorization: &'life2 str ) -> Pin<Box<dyn Future<Output = Result<Token, TokenError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,
fn post_token<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, account_id: &'life1 str, field0: CreateTokenDTO, authorization: &'life2 str ) -> Pin<Box<dyn Future<Output = Result<UnsafeToken, TokenError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,
fn delete_token<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, account_id: &'life1 str, token_id: Uuid, authorization: &'life2 str ) -> Pin<Box<dyn Future<Output = Result<(), TokenError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,
Auto Trait Implementations§
impl RefUnwindSafe for TokenLive
impl Send for TokenLive
impl Sync for TokenLive
impl Unpin for TokenLive
impl UnwindSafe for TokenLive
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