pub struct MiningAccountEarningParams {
pub algo: 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 [mining_account_earning] operation.
This struct holds all of the inputs you can pass when calling
mining_account_earning.
Fields§
§algo: StringAlgorithm(sha256) sha256
This field is **required.
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 MiningAccountEarningParams
impl MiningAccountEarningParams
Sourcepub fn builder(algo: String) -> MiningAccountEarningParamsBuilder
pub fn builder(algo: String) -> MiningAccountEarningParamsBuilder
Create a builder for [mining_account_earning].
Required parameters:
algo— Algorithm(sha256) sha256
Trait Implementations§
Source§impl Clone for MiningAccountEarningParams
impl Clone for MiningAccountEarningParams
Source§fn clone(&self) -> MiningAccountEarningParams
fn clone(&self) -> MiningAccountEarningParams
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 MiningAccountEarningParams
impl RefUnwindSafe for MiningAccountEarningParams
impl Send for MiningAccountEarningParams
impl Sync for MiningAccountEarningParams
impl Unpin for MiningAccountEarningParams
impl UnsafeUnpin for MiningAccountEarningParams
impl UnwindSafe for MiningAccountEarningParams
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