#[non_exhaustive]pub struct UncertaintyRangeBuilder { /* private fields */ }
Expand description
A builder for UncertaintyRange
.
Implementations§
source§impl UncertaintyRangeBuilder
impl UncertaintyRangeBuilder
sourcepub fn lower_bound_value(self, input: f32) -> Self
pub fn lower_bound_value(self, input: f32) -> Self
The lower bound value of the area under curve (auc).
This field is required.sourcepub fn set_lower_bound_value(self, input: Option<f32>) -> Self
pub fn set_lower_bound_value(self, input: Option<f32>) -> Self
The lower bound value of the area under curve (auc).
sourcepub fn get_lower_bound_value(&self) -> &Option<f32>
pub fn get_lower_bound_value(&self) -> &Option<f32>
The lower bound value of the area under curve (auc).
sourcepub fn upper_bound_value(self, input: f32) -> Self
pub fn upper_bound_value(self, input: f32) -> Self
The upper bound value of the area under curve (auc).
This field is required.sourcepub fn set_upper_bound_value(self, input: Option<f32>) -> Self
pub fn set_upper_bound_value(self, input: Option<f32>) -> Self
The upper bound value of the area under curve (auc).
sourcepub fn get_upper_bound_value(&self) -> &Option<f32>
pub fn get_upper_bound_value(&self) -> &Option<f32>
The upper bound value of the area under curve (auc).
sourcepub fn build(self) -> Result<UncertaintyRange, BuildError>
pub fn build(self) -> Result<UncertaintyRange, BuildError>
Consumes the builder and constructs a UncertaintyRange
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UncertaintyRangeBuilder
impl Clone for UncertaintyRangeBuilder
source§fn clone(&self) -> UncertaintyRangeBuilder
fn clone(&self) -> UncertaintyRangeBuilder
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 moresource§impl Debug for UncertaintyRangeBuilder
impl Debug for UncertaintyRangeBuilder
source§impl Default for UncertaintyRangeBuilder
impl Default for UncertaintyRangeBuilder
source§fn default() -> UncertaintyRangeBuilder
fn default() -> UncertaintyRangeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UncertaintyRangeBuilder
impl PartialEq for UncertaintyRangeBuilder
source§fn eq(&self, other: &UncertaintyRangeBuilder) -> bool
fn eq(&self, other: &UncertaintyRangeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UncertaintyRangeBuilder
Auto Trait Implementations§
impl Freeze for UncertaintyRangeBuilder
impl RefUnwindSafe for UncertaintyRangeBuilder
impl Send for UncertaintyRangeBuilder
impl Sync for UncertaintyRangeBuilder
impl Unpin for UncertaintyRangeBuilder
impl UnwindSafe for UncertaintyRangeBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.