#[non_exhaustive]pub struct ConfidenceLevelMetrics {
pub confidence_level: f32,
pub metrics: Option<Metrics>,
/* private fields */
}Expand description
Evaluations metrics, at a specific confidence level.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.confidence_level: f32The confidence level.
metrics: Option<Metrics>The metrics at the specific confidence level.
Implementations§
Source§impl ConfidenceLevelMetrics
impl ConfidenceLevelMetrics
pub fn new() -> Self
Sourcepub fn set_confidence_level<T: Into<f32>>(self, v: T) -> Self
pub fn set_confidence_level<T: Into<f32>>(self, v: T) -> Self
Sets the value of confidence_level.
Sourcepub fn set_metrics<T>(self, v: T) -> Self
pub fn set_metrics<T>(self, v: T) -> Self
Sets the value of metrics.
Trait Implementations§
Source§impl Clone for ConfidenceLevelMetrics
impl Clone for ConfidenceLevelMetrics
Source§fn clone(&self) -> ConfidenceLevelMetrics
fn clone(&self) -> ConfidenceLevelMetrics
Returns a duplicate 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 ConfidenceLevelMetrics
impl Debug for ConfidenceLevelMetrics
Source§impl Default for ConfidenceLevelMetrics
impl Default for ConfidenceLevelMetrics
Source§fn default() -> ConfidenceLevelMetrics
fn default() -> ConfidenceLevelMetrics
Returns the “default value” for a type. Read more
Source§impl Message for ConfidenceLevelMetrics
impl Message for ConfidenceLevelMetrics
Source§impl PartialEq for ConfidenceLevelMetrics
impl PartialEq for ConfidenceLevelMetrics
impl StructuralPartialEq for ConfidenceLevelMetrics
Auto Trait Implementations§
impl Freeze for ConfidenceLevelMetrics
impl RefUnwindSafe for ConfidenceLevelMetrics
impl Send for ConfidenceLevelMetrics
impl Sync for ConfidenceLevelMetrics
impl Unpin for ConfidenceLevelMetrics
impl UnwindSafe for ConfidenceLevelMetrics
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