pub trait AccountsApiMut {
    type Error;
    fn create_account(
        &mut self,
        body: AccountRequest
    ) -> Result<Account, Self::Error>;
fn delete_account(&mut self, account_id: Uuid) -> Result<(), Self::Error>;
fn get_account(&mut self, account_id: Uuid) -> Result<Account, Self::Error>;
fn get_accounts(&mut self) -> Result<AccountListResponse, Self::Error>;
fn select_account(&mut self, account_id: Uuid) -> Result<(), Self::Error>;
fn update_account(
        &mut self,
        account_id: Uuid,
        body: AccountUpdateRequest
    ) -> Result<Account, Self::Error>; }

Associated Types

Required methods

Create a new account.

Delete an account.

Get a specific account.

Get all accounts.

Select a user’s account to work on.

Update an account.

Implementors