[−][src]Trait em_client::AccountsApiMut
Associated Types
type Error
Required methods
fn create_account(
&mut self,
body: AccountRequest
) -> Result<Account, Self::Error>
&mut self,
body: AccountRequest
) -> Result<Account, Self::Error>
Create a new account
fn delete_account(&mut self, account_id: Uuid) -> Result<(), Self::Error>
Delete account
fn get_account(&mut self, account_id: Uuid) -> Result<Account, Self::Error>
Get a specific account
fn get_accounts(&mut self) -> Result<AccountListResponse, Self::Error>
Get all accounts
fn select_account(&mut self, account_id: Uuid) -> Result<(), Self::Error>
Select a user's account to work on
fn update_account(
&mut self,
account_id: Uuid,
body: AccountUpdateRequest
) -> Result<Account, Self::Error>
&mut self,
account_id: Uuid,
body: AccountUpdateRequest
) -> Result<Account, Self::Error>
Update account
Implementors
impl<T, E> AccountsApiMut for T where
T: AccountsApi<Error = E>,
[src]
T: AccountsApi<Error = E>,
type Error = E
fn create_account(
&mut self,
body: AccountRequest
) -> Result<Account, Self::Error>
[src]
&mut self,
body: AccountRequest
) -> Result<Account, Self::Error>
fn delete_account(&mut self, account_id: Uuid) -> Result<(), Self::Error>
[src]
fn get_account(&mut self, account_id: Uuid) -> Result<Account, Self::Error>
[src]
fn get_accounts(&mut self) -> Result<AccountListResponse, Self::Error>
[src]
fn select_account(&mut self, account_id: Uuid) -> Result<(), Self::Error>
[src]
fn update_account(
&mut self,
account_id: Uuid,
body: AccountUpdateRequest
) -> Result<Account, Self::Error>
[src]
&mut self,
account_id: Uuid,
body: AccountUpdateRequest
) -> Result<Account, Self::Error>