pub struct SoftStakingApiClient { /* private fields */ }Implementations§
Source§impl SoftStakingApiClient
impl SoftStakingApiClient
pub fn new(configuration: ConfigurationRestApi) -> Self
Trait Implementations§
Source§impl Clone for SoftStakingApiClient
impl Clone for SoftStakingApiClient
Source§fn clone(&self) -> SoftStakingApiClient
fn clone(&self) -> SoftStakingApiClient
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 SoftStakingApiClient
impl Debug for SoftStakingApiClient
Source§impl SoftStakingApi for SoftStakingApiClient
impl SoftStakingApi for SoftStakingApiClient
fn get_soft_staking_product_list<'life0, 'async_trait>(
&'life0 self,
params: GetSoftStakingProductListParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetSoftStakingProductListResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_soft_staking_rewards_history<'life0, 'async_trait>(
&'life0 self,
params: GetSoftStakingRewardsHistoryParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<GetSoftStakingRewardsHistoryResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_soft_staking<'life0, 'async_trait>(
&'life0 self,
params: SetSoftStakingParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<SetSoftStakingResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for SoftStakingApiClient
impl !RefUnwindSafe for SoftStakingApiClient
impl !UnwindSafe for SoftStakingApiClient
impl Send for SoftStakingApiClient
impl Sync for SoftStakingApiClient
impl Unpin for SoftStakingApiClient
impl UnsafeUnpin for SoftStakingApiClient
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