pub struct StatisticListParams {
pub algo: String,
pub user_name: String,
pub recv_window: Option<i64>,
}Expand description
Request parameters for the [statistic_list] operation.
This struct holds all of the inputs you can pass when calling
statistic_list.
Fields§
§algo: StringAlgorithm
This field is **required.
user_name: StringMining account
This field is **required.
recv_window: Option<i64>Request validity window in milliseconds.
This field is **optional.
Implementations§
Source§impl StatisticListParams
impl StatisticListParams
Sourcepub fn builder(algo: String, user_name: String) -> StatisticListParamsBuilder
pub fn builder(algo: String, user_name: String) -> StatisticListParamsBuilder
Create a builder for [statistic_list].
Required parameters:
algo— Algorithmuser_name— Mining account
Trait Implementations§
Source§impl Clone for StatisticListParams
impl Clone for StatisticListParams
Source§fn clone(&self) -> StatisticListParams
fn clone(&self) -> StatisticListParams
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 Debug for StatisticListParams
impl Debug for StatisticListParams
Source§impl<'de> Deserialize<'de> for StatisticListParams
impl<'de> Deserialize<'de> for StatisticListParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StatisticListParams
impl RefUnwindSafe for StatisticListParams
impl Send for StatisticListParams
impl Sync for StatisticListParams
impl Unpin for StatisticListParams
impl UnsafeUnpin for StatisticListParams
impl UnwindSafe for StatisticListParams
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