pub struct PercentileRespBuilder {
difficulty_factor: Option<Option<u32>>,
}
Expand description
Builder for PercentileResp
.
Fields§
§difficulty_factor: Option<Option<u32>>
Implementations§
source§impl PercentileRespBuilder
impl PercentileRespBuilder
pub fn difficulty_factor(&mut self, value: Option<u32>) -> &mut Self
sourcepub fn build(&self) -> Result<PercentileResp, PercentileRespBuilderError>
pub fn build(&self) -> Result<PercentileResp, PercentileRespBuilderError>
sourcefn create_empty() -> Self
fn create_empty() -> Self
Create an empty builder, with all fields set to None
or PhantomData
.
Trait Implementations§
source§impl Clone for PercentileRespBuilder
impl Clone for PercentileRespBuilder
source§fn clone(&self) -> PercentileRespBuilder
fn clone(&self) -> PercentileRespBuilder
Returns a copy of the value. Read more
1.0.0 · 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 RefUnwindSafe for PercentileRespBuilder
impl Send for PercentileRespBuilder
impl Sync for PercentileRespBuilder
impl Unpin for PercentileRespBuilder
impl UnwindSafe for PercentileRespBuilder
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