pub struct ThreeCommasClient { /* private fields */ }Implementations§
Source§impl ThreeCommasClient
impl ThreeCommasClient
pub fn new( api_key: impl AsRef<str>, secret: impl AsRef<str>, ) -> StdResult<Self, ClientError>
pub async fn accounts(&self) -> Result<Vec<Account>>
pub async fn account(&self, account_id: AccountId) -> Result<Account>
pub async fn bots(&self) -> Result<Vec<Bot>>
pub async fn bot_stats(&self, bot: &Bot) -> Result<BotStats>
pub fn deals(&self) -> Deals
Trait Implementations§
Source§impl Clone for ThreeCommasClient
impl Clone for ThreeCommasClient
Source§fn clone(&self) -> ThreeCommasClient
fn clone(&self) -> ThreeCommasClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ThreeCommasClient
impl !RefUnwindSafe for ThreeCommasClient
impl Send for ThreeCommasClient
impl Sync for ThreeCommasClient
impl Unpin for ThreeCommasClient
impl !UnwindSafe for ThreeCommasClient
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