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 · 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 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
Source§impl PartialEq for CollectionFunction
impl PartialEq for CollectionFunction
Source§impl Serialize for CollectionFunction
impl Serialize 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 stringimpl Copy for CollectionFunction
impl Eq for CollectionFunction
impl StructuralPartialEq for CollectionFunction
Auto 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