pub struct GetBoostRewardsHistoryParams {
pub type: 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_boost_rewards_history] operation.
This struct holds all of the inputs you can pass when calling
get_boost_rewards_history.
Fields§
§type: String“CLAIM”, “DISTRIBUTE”, default “CLAIM”
This field is **required.
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 GetBoostRewardsHistoryParams
impl GetBoostRewardsHistoryParams
Sourcepub fn builder(type: String) -> GetBoostRewardsHistoryParamsBuilder
pub fn builder(type: String) -> GetBoostRewardsHistoryParamsBuilder
Create a builder for [get_boost_rewards_history].
Required parameters:
r#type— "CLAIM", "DISTRIBUTE", default "CLAIM"
Trait Implementations§
Source§impl Clone for GetBoostRewardsHistoryParams
impl Clone for GetBoostRewardsHistoryParams
Source§fn clone(&self) -> GetBoostRewardsHistoryParams
fn clone(&self) -> GetBoostRewardsHistoryParams
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 moreAuto Trait Implementations§
impl Freeze for GetBoostRewardsHistoryParams
impl RefUnwindSafe for GetBoostRewardsHistoryParams
impl Send for GetBoostRewardsHistoryParams
impl Sync for GetBoostRewardsHistoryParams
impl Unpin for GetBoostRewardsHistoryParams
impl UnsafeUnpin for GetBoostRewardsHistoryParams
impl UnwindSafe for GetBoostRewardsHistoryParams
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