pub struct EarningsListParams {
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 [earnings_list] operation.
This struct holds all of the inputs you can pass when calling
earnings_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 EarningsListParams
impl EarningsListParams
Sourcepub fn builder(algo: String, user_name: String) -> EarningsListParamsBuilder
pub fn builder(algo: String, user_name: String) -> EarningsListParamsBuilder
Create a builder for [earnings_list].
Required parameters:
algo— Algorithm(sha256) sha256user_name— Mining account test
Trait Implementations§
Source§impl Clone for EarningsListParams
impl Clone for EarningsListParams
Source§fn clone(&self) -> EarningsListParams
fn clone(&self) -> EarningsListParams
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 EarningsListParams
impl RefUnwindSafe for EarningsListParams
impl Send for EarningsListParams
impl Sync for EarningsListParams
impl Unpin for EarningsListParams
impl UnsafeUnpin for EarningsListParams
impl UnwindSafe for EarningsListParams
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