Struct golem_client::api::TokenClientLive
source · pub struct TokenClientLive {
pub context: Context,
}
Fields§
§context: Context
Trait Implementations§
source§impl TokenClient for TokenClientLive
impl TokenClient for TokenClientLive
fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
account_id: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Vec<Token>, Error<TokenError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn post<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
account_id: &'life1 str,
value: &'life2 CreateTokenDto
) -> Pin<Box<dyn Future<Output = Result<UnsafeToken, Error<TokenError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn token_id_get<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
account_id: &'life1 str,
token_id: &'life2 Uuid
) -> Pin<Box<dyn Future<Output = Result<Token, Error<TokenError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn token_id_delete<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
account_id: &'life1 str,
token_id: &'life2 Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteTokenResponse, Error<TokenError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for TokenClientLive
impl Send for TokenClientLive
impl Sync for TokenClientLive
impl Unpin for TokenClientLive
impl !UnwindSafe for TokenClientLive
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