Struct golem_client::account::AccountLive
source · pub struct AccountLive {
pub base_url: Url,
pub allow_insecure: bool,
}
Fields§
§base_url: Url
§allow_insecure: bool
Trait Implementations§
source§impl Account for AccountLive
impl Account for AccountLive
fn get_account<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
account_id: &'life1 str,
authorization: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<Account, AccountError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_account_plan<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
account_id: &'life1 str,
authorization: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<Plan, AccountError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn put_account<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
account_id: &'life1 str,
field0: AccountData,
authorization: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<Account, AccountError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn post_account<'life0, 'life1, 'async_trait>(
&'life0 self,
field0: AccountData,
authorization: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Account, AccountError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete_account<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
account_id: &'life1 str,
authorization: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<(), AccountError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
source§impl Clone for AccountLive
impl Clone for AccountLive
source§fn clone(&self) -> AccountLive
fn clone(&self) -> AccountLive
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for AccountLive
impl Send for AccountLive
impl Sync for AccountLive
impl Unpin for AccountLive
impl UnwindSafe for AccountLive
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