pub struct SolStakingApiClient { /* private fields */ }Implementations§
Source§impl SolStakingApiClient
impl SolStakingApiClient
pub fn new(configuration: ConfigurationRestApi) -> Self
Trait Implementations§
Source§impl Clone for SolStakingApiClient
impl Clone for SolStakingApiClient
Source§fn clone(&self) -> SolStakingApiClient
fn clone(&self) -> SolStakingApiClient
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 SolStakingApiClient
impl Debug for SolStakingApiClient
Source§impl SolStakingApi for SolStakingApiClient
impl SolStakingApi for SolStakingApiClient
fn claim_boost_rewards<'life0, 'async_trait>(
&'life0 self,
params: ClaimBoostRewardsParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<ClaimBoostRewardsResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_bnsol_rate_history<'life0, 'async_trait>(
&'life0 self,
params: GetBnsolRateHistoryParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetBnsolRateHistoryResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_bnsol_rewards_history<'life0, 'async_trait>(
&'life0 self,
params: GetBnsolRewardsHistoryParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetBnsolRewardsHistoryResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_boost_rewards_history<'life0, 'async_trait>(
&'life0 self,
params: GetBoostRewardsHistoryParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetBoostRewardsHistoryResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_sol_redemption_history<'life0, 'async_trait>(
&'life0 self,
params: GetSolRedemptionHistoryParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetSolRedemptionHistoryResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_sol_staking_history<'life0, 'async_trait>(
&'life0 self,
params: GetSolStakingHistoryParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetSolStakingHistoryResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_sol_staking_quota_details<'life0, 'async_trait>(
&'life0 self,
params: GetSolStakingQuotaDetailsParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetSolStakingQuotaDetailsResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_unclaimed_rewards<'life0, 'async_trait>(
&'life0 self,
params: GetUnclaimedRewardsParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<Vec<GetUnclaimedRewardsResponseInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn redeem_sol<'life0, 'async_trait>(
&'life0 self,
params: RedeemSolParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<RedeemSolResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn sol_staking_account<'life0, 'async_trait>(
&'life0 self,
params: SolStakingAccountParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<SolStakingAccountResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn subscribe_sol_staking<'life0, 'async_trait>(
&'life0 self,
params: SubscribeSolStakingParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<SubscribeSolStakingResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for SolStakingApiClient
impl !RefUnwindSafe for SolStakingApiClient
impl !UnwindSafe for SolStakingApiClient
impl Send for SolStakingApiClient
impl Sync for SolStakingApiClient
impl Unpin for SolStakingApiClient
impl UnsafeUnpin for SolStakingApiClient
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