pub struct GetSoftStakingRewardsHistoryParams {
pub asset: Option<String>,
pub start_time: Option<i64>,
pub end_time: Option<i64>,
pub current: Option<i64>,
pub size: Option<i64>,
pub recv_window: Option<i64>,
}Expand description
Request parameters for the [get_soft_staking_rewards_history] operation.
This struct holds all of the inputs you can pass when calling
get_soft_staking_rewards_history.
Fields§
§asset: Option<String>WBETH or BETH, default to BETH
This field is **optional.
start_time: Option<i64>The start_time parameter.
This field is **optional.
end_time: Option<i64>The end_time parameter.
This field is **optional.
current: Option<i64>Currently querying page. Start from 1. Default:1
This field is **optional.
size: Option<i64>Default:10, Max:100
This field is **optional.
recv_window: Option<i64>The recv_window parameter.
This field is **optional.
Implementations§
Source§impl GetSoftStakingRewardsHistoryParams
impl GetSoftStakingRewardsHistoryParams
Sourcepub fn builder() -> GetSoftStakingRewardsHistoryParamsBuilder
pub fn builder() -> GetSoftStakingRewardsHistoryParamsBuilder
Create a builder for [get_soft_staking_rewards_history].
Trait Implementations§
Source§impl Clone for GetSoftStakingRewardsHistoryParams
impl Clone for GetSoftStakingRewardsHistoryParams
Source§fn clone(&self) -> GetSoftStakingRewardsHistoryParams
fn clone(&self) -> GetSoftStakingRewardsHistoryParams
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 Default for GetSoftStakingRewardsHistoryParams
impl Default for GetSoftStakingRewardsHistoryParams
Source§fn default() -> GetSoftStakingRewardsHistoryParams
fn default() -> GetSoftStakingRewardsHistoryParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetSoftStakingRewardsHistoryParams
impl RefUnwindSafe for GetSoftStakingRewardsHistoryParams
impl Send for GetSoftStakingRewardsHistoryParams
impl Sync for GetSoftStakingRewardsHistoryParams
impl Unpin for GetSoftStakingRewardsHistoryParams
impl UnsafeUnpin for GetSoftStakingRewardsHistoryParams
impl UnwindSafe for GetSoftStakingRewardsHistoryParams
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