pub enum MlMetricAggregation {
Mean,
Median,
Min,
Max,
Sum,
WeightedMean,
Macro,
Micro,
Samples,
None,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MlMetricAggregation
impl Clone for MlMetricAggregation
Source§fn clone(&self) -> MlMetricAggregation
fn clone(&self) -> MlMetricAggregation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MlMetricAggregation
impl Debug for MlMetricAggregation
Source§impl Display for MlMetricAggregation
impl Display for MlMetricAggregation
Source§impl FromStr for MlMetricAggregation
impl FromStr for MlMetricAggregation
Source§type Err = MlMetricError
type Err = MlMetricError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<MlMetricAggregation, <MlMetricAggregation as FromStr>::Err>
fn from_str( value: &str, ) -> Result<MlMetricAggregation, <MlMetricAggregation as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for MlMetricAggregation
impl Hash for MlMetricAggregation
Source§impl Ord for MlMetricAggregation
impl Ord for MlMetricAggregation
Source§fn cmp(&self, other: &MlMetricAggregation) -> Ordering
fn cmp(&self, other: &MlMetricAggregation) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MlMetricAggregation
impl PartialEq for MlMetricAggregation
Source§fn eq(&self, other: &MlMetricAggregation) -> bool
fn eq(&self, other: &MlMetricAggregation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MlMetricAggregation
impl PartialOrd for MlMetricAggregation
impl Copy for MlMetricAggregation
impl Eq for MlMetricAggregation
impl StructuralPartialEq for MlMetricAggregation
Auto Trait Implementations§
impl Freeze for MlMetricAggregation
impl RefUnwindSafe for MlMetricAggregation
impl Send for MlMetricAggregation
impl Sync for MlMetricAggregation
impl Unpin for MlMetricAggregation
impl UnsafeUnpin for MlMetricAggregation
impl UnwindSafe for MlMetricAggregation
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