pub struct ExtraBonusListParams {
pub algo: String,
pub user_name: String,
pub coin: Option<String>,
pub start_date: Option<i64>,
pub end_date: Option<i64>,
pub page_index: Option<i64>,
pub page_size: Option<i64>,
pub recv_window: Option<i64>,
}Expand description
Request parameters for the [extra_bonus_list] operation.
This struct holds all of the inputs you can pass when calling
extra_bonus_list.
Fields§
§algo: StringAlgorithm(sha256) sha256
This field is **required.
user_name: StringMining account test
This field is **required.
coin: Option<String>Coin Name
This field is **optional.
start_date: Option<i64>Millisecond timestamp
This field is **optional.
end_date: Option<i64>Millisecond timestamp
This field is **optional.
page_index: Option<i64>Page number, empty default first page, starting from 1
This field is **optional.
page_size: Option<i64>Min 10,Max 200
This field is **optional.
recv_window: Option<i64>The recv_window parameter.
This field is **optional.
Implementations§
Source§impl ExtraBonusListParams
impl ExtraBonusListParams
Sourcepub fn builder(algo: String, user_name: String) -> ExtraBonusListParamsBuilder
pub fn builder(algo: String, user_name: String) -> ExtraBonusListParamsBuilder
Create a builder for [extra_bonus_list].
Required parameters:
algo— Algorithm(sha256) sha256user_name— Mining account test
Trait Implementations§
Source§impl Clone for ExtraBonusListParams
impl Clone for ExtraBonusListParams
Source§fn clone(&self) -> ExtraBonusListParams
fn clone(&self) -> ExtraBonusListParams
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 ExtraBonusListParams
impl RefUnwindSafe for ExtraBonusListParams
impl Send for ExtraBonusListParams
impl Sync for ExtraBonusListParams
impl Unpin for ExtraBonusListParams
impl UnsafeUnpin for ExtraBonusListParams
impl UnwindSafe for ExtraBonusListParams
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