pub struct MiningApiClient { /* private fields */ }Implementations§
Source§impl MiningApiClient
impl MiningApiClient
pub fn new(configuration: ConfigurationRestApi) -> Self
Trait Implementations§
Source§impl Clone for MiningApiClient
impl Clone for MiningApiClient
Source§fn clone(&self) -> MiningApiClient
fn clone(&self) -> MiningApiClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MiningApiClient
impl Debug for MiningApiClient
Source§impl MiningApi for MiningApiClient
impl MiningApi for MiningApiClient
fn account_list<'life0, 'async_trait>(
&'life0 self,
params: AccountListParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<AccountListResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn acquiring_algorithm<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<AcquiringAlgorithmResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn acquiring_coinname<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<AcquiringCoinnameResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn cancel_hashrate_resale_configuration<'life0, 'async_trait>(
&'life0 self,
params: CancelHashrateResaleConfigurationParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<CancelHashrateResaleConfigurationResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn earnings_list<'life0, 'async_trait>(
&'life0 self,
params: EarningsListParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<EarningsListResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn extra_bonus_list<'life0, 'async_trait>(
&'life0 self,
params: ExtraBonusListParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<ExtraBonusListResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn hashrate_resale_detail<'life0, 'async_trait>(
&'life0 self,
params: HashrateResaleDetailParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<HashrateResaleDetailResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn hashrate_resale_list<'life0, 'async_trait>(
&'life0 self,
params: HashrateResaleListParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<HashrateResaleListResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn hashrate_resale_request<'life0, 'async_trait>(
&'life0 self,
params: HashrateResaleRequestParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<HashrateResaleRequestResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn mining_account_earning<'life0, 'async_trait>(
&'life0 self,
params: MiningAccountEarningParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<MiningAccountEarningResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn request_for_detail_miner_list<'life0, 'async_trait>(
&'life0 self,
params: RequestForDetailMinerListParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<RequestForDetailMinerListResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn request_for_miner_list<'life0, 'async_trait>(
&'life0 self,
params: RequestForMinerListParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<RequestForMinerListResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn statistic_list<'life0, 'async_trait>(
&'life0 self,
params: StatisticListParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<StatisticListResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for MiningApiClient
impl !RefUnwindSafe for MiningApiClient
impl !UnwindSafe for MiningApiClient
impl Send for MiningApiClient
impl Sync for MiningApiClient
impl Unpin for MiningApiClient
impl UnsafeUnpin for MiningApiClient
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