Enum MlMetricAggregation
pub enum MlMetricAggregation {
Mean,
Median,
Min,
Max,
Sum,
WeightedMean,
Macro,
Micro,
Samples,
None,
}Variants§
Implementations§
§impl MlMetricAggregation
impl MlMetricAggregation
Trait Implementations§
§impl Clone for MlMetricAggregation
impl Clone for MlMetricAggregation
§fn clone(&self) -> MlMetricAggregation
fn clone(&self) -> MlMetricAggregation
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 more§impl Debug for MlMetricAggregation
impl Debug for MlMetricAggregation
§impl Display for MlMetricAggregation
impl Display for MlMetricAggregation
§impl FromStr for MlMetricAggregation
impl FromStr for MlMetricAggregation
§type Err = MlMetricError
type Err = MlMetricError
The associated error which can be returned from parsing.
§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 more§impl Hash for MlMetricAggregation
impl Hash for MlMetricAggregation
§impl Ord for MlMetricAggregation
impl Ord for MlMetricAggregation
§fn cmp(&self, other: &MlMetricAggregation) -> Ordering
fn cmp(&self, other: &MlMetricAggregation) -> Ordering
1.21.0 · 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
§impl PartialEq for MlMetricAggregation
impl PartialEq for MlMetricAggregation
§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