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 Freeze for Client
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