pub struct ExtraBonusListParamsBuilder { /* private fields */ }Expand description
Builder for ExtraBonusListParams.
Implementations§
Source§impl ExtraBonusListParamsBuilder
impl ExtraBonusListParamsBuilder
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 coin<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
pub fn coin<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
Coin Name
This field is **optional.
Sourcepub fn start_date<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
pub fn start_date<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
Millisecond timestamp
This field is **optional.
Sourcepub fn end_date<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
pub fn end_date<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
Millisecond timestamp
This field is **optional.
Sourcepub fn page_index<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
pub fn page_index<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
Page number, empty default first page, starting from 1
This field is **optional.
Sourcepub fn page_size<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
pub fn page_size<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
Min 10,Max 200
This field is **optional.
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<ExtraBonusListParams, ParamBuildError>
pub fn build(self) -> Result<ExtraBonusListParams, ParamBuildError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExtraBonusListParamsBuilder
impl RefUnwindSafe for ExtraBonusListParamsBuilder
impl Send for ExtraBonusListParamsBuilder
impl Sync for ExtraBonusListParamsBuilder
impl Unpin for ExtraBonusListParamsBuilder
impl UnsafeUnpin for ExtraBonusListParamsBuilder
impl UnwindSafe for ExtraBonusListParamsBuilder
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