pub struct HashrateResaleDetailParamsBuilder { /* private fields */ }Expand description
Builder for HashrateResaleDetailParams.
Implementations§
Source§impl HashrateResaleDetailParamsBuilder
impl HashrateResaleDetailParamsBuilder
Sourcepub fn config_id<VALUE: Into<i64>>(self, value: VALUE) -> Self
pub fn config_id<VALUE: Into<i64>>(self, value: VALUE) -> Self
Mining ID 168
This field is **required.
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<HashrateResaleDetailParams, ParamBuildError>
pub fn build(self) -> Result<HashrateResaleDetailParams, ParamBuildError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HashrateResaleDetailParamsBuilder
impl RefUnwindSafe for HashrateResaleDetailParamsBuilder
impl Send for HashrateResaleDetailParamsBuilder
impl Sync for HashrateResaleDetailParamsBuilder
impl Unpin for HashrateResaleDetailParamsBuilder
impl UnsafeUnpin for HashrateResaleDetailParamsBuilder
impl UnwindSafe for HashrateResaleDetailParamsBuilder
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