pub struct Client { /* private fields */ }Implementations§
source§impl Client
impl Client
pub async fn list_accounts(&self) -> Result<AccountListResponse, Error>
source§impl Client
impl Client
pub async fn authenticate(credentials: &Credentials) -> Result<Client, Error>
source§impl Client
impl Client
pub async fn get_total_values( &self, accounts: &Vec<Account> ) -> Result<TotalValuesResponse, Error>
source§impl Client
impl Client
pub async fn execute_stock_order( &self, order: &StockOrder ) -> Result<StockOrderResponse, Error>
source§impl Client
impl Client
pub async fn get_stock_list( &self, request: &StockListRequest ) -> Result<StockListResponse, Error>
Auto Trait Implementations§
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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