pub struct StatisticListParamsBuilder { /* private fields */ }Expand description
Builder for StatisticListParams.
Implementations§
Source§impl StatisticListParamsBuilder
impl StatisticListParamsBuilder
Sourcepub fn algo<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn algo<VALUE: Into<String>>(self, value: VALUE) -> Self
Algorithm(sha256) sha256
This field is **required.
Sourcepub fn user_name<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn user_name<VALUE: Into<String>>(self, value: VALUE) -> Self
Mining account test
This field is **required.
Sourcepub fn recv_window<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
pub fn recv_window<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
The recv_window parameter.
This field is **optional.
Sourcepub fn build(self) -> Result<StatisticListParams, ParamBuildError>
pub fn build(self) -> Result<StatisticListParams, ParamBuildError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StatisticListParamsBuilder
impl RefUnwindSafe for StatisticListParamsBuilder
impl Send for StatisticListParamsBuilder
impl Sync for StatisticListParamsBuilder
impl Unpin for StatisticListParamsBuilder
impl UnsafeUnpin for StatisticListParamsBuilder
impl UnwindSafe for StatisticListParamsBuilder
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