pub struct WalletClient { /* private fields */ }
Implementations§
Source§impl WalletClient
impl WalletClient
pub fn new(api_key: Option<String>, secret_key: Option<String>) -> Self
pub fn get_coins(&self) -> Result<Vec<CoinInfo>>
pub fn get_balances(&self) -> Result<Vec<BalanceInfo>>
pub fn get_all_balances(&self) -> Result<HashMap<String, Vec<BalanceInfo>>>
pub fn get_deposit_address( &self, coin: String, method: Option<String>, ) -> Result<Address>
pub fn get_deposits( &self, start_time: Option<i64>, end_time: Option<i64>, ) -> Result<Vec<Deposit>>
pub fn get_withdrawals( &self, start_time: Option<i64>, end_time: Option<i64>, ) -> Result<Vec<Withdrawal>>
pub fn get_airdrops( &self, start_time: Option<i64>, end_time: Option<i64>, ) -> Result<Vec<Airdrops>>
Trait Implementations§
Source§impl Clone for WalletClient
impl Clone for WalletClient
Source§fn clone(&self) -> WalletClient
fn clone(&self) -> WalletClient
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 WalletClient
impl !RefUnwindSafe for WalletClient
impl Send for WalletClient
impl Sync for WalletClient
impl Unpin for WalletClient
impl !UnwindSafe for WalletClient
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