pub trait AccountClient {
    // Required methods
    fn account_id_get<'life0, 'life1, 'async_trait>(
        &'life0 self,
        account_id: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Account, Error<AccountError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn account_id_put<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        account_id: &'life1 str,
        value: &'life2 AccountData
    ) -> Pin<Box<dyn Future<Output = Result<Account, Error<AccountError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn account_id_delete<'life0, 'life1, 'async_trait>(
        &'life0 self,
        account_id: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<DeleteAccountResponse, Error<AccountError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn account_id_plan_get<'life0, 'life1, 'async_trait>(
        &'life0 self,
        account_id: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Plan, Error<AccountError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn post<'life0, 'life1, 'async_trait>(
        &'life0 self,
        value: &'life1 AccountData
    ) -> Pin<Box<dyn Future<Output = Result<Account, Error<AccountError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

source

fn account_id_get<'life0, 'life1, 'async_trait>( &'life0 self, account_id: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<Account, Error<AccountError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn account_id_put<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, account_id: &'life1 str, value: &'life2 AccountData ) -> Pin<Box<dyn Future<Output = Result<Account, Error<AccountError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source

fn account_id_delete<'life0, 'life1, 'async_trait>( &'life0 self, account_id: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<DeleteAccountResponse, Error<AccountError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn account_id_plan_get<'life0, 'life1, 'async_trait>( &'life0 self, account_id: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<Plan, Error<AccountError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn post<'life0, 'life1, 'async_trait>( &'life0 self, value: &'life1 AccountData ) -> Pin<Box<dyn Future<Output = Result<Account, Error<AccountError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§