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