pub enum CollectionFunction {
Average,
Maximum,
Minimum,
Summation,
UnsupportedValue,
}Expand description
An operation to perform over the sample.
If present, the metric value shall be computed according to this function.
Variants§
Average
An averaging function.
Maximum
A maximum function.
Minimum
A minimum function.
Summation
A summation function.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for CollectionFunction
impl Clone for CollectionFunction
Source§fn clone(&self) -> CollectionFunction
fn clone(&self) -> CollectionFunction
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 moreimpl Copy for CollectionFunction
Source§impl Debug for CollectionFunction
impl Debug for CollectionFunction
Source§impl<'de> Deserialize<'de> for CollectionFunction
impl<'de> Deserialize<'de> for CollectionFunction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CollectionFunction
Source§impl PartialEq for CollectionFunction
impl PartialEq for CollectionFunction
Source§fn eq(&self, other: &CollectionFunction) -> bool
fn eq(&self, other: &CollectionFunction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CollectionFunction
impl Serialize for CollectionFunction
impl StructuralPartialEq for CollectionFunction
Source§impl ToSnakeCase for CollectionFunction
impl ToSnakeCase for CollectionFunction
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
Convert this enum variant to a
snake_case stringAuto Trait Implementations§
impl Freeze for CollectionFunction
impl RefUnwindSafe for CollectionFunction
impl Send for CollectionFunction
impl Sync for CollectionFunction
impl Unpin for CollectionFunction
impl UnsafeUnpin for CollectionFunction
impl UnwindSafe for CollectionFunction
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