pub enum CalculationAlgorithmEnum {
Average,
Maximum,
Minimum,
Summation,
UnsupportedValue,
}Expand description
The function to apply to the list of metric properties.
This type shall specify the function to apply to the list of metric properties.
Variants§
Average
The metric is calculated as the average metric reading over a duration.
This value shall indicate the metric is calculated as the average metric reading over a duration.
The duration shall be the CollectionDuration property value.
Maximum
The metric is calculated as the maximum metric reading over a duration.
This value shall indicate the metric is calculated as the maximum metric reading over a duration.
The duration shall be the CollectionDuration property value.
Minimum
The metric is calculated as the minimum metric reading over a duration.
This value shall indicate the metric is calculated as the minimum metric reading over a duration.
The duration shall be the CollectionDuration property value.
Summation
The metric is calculated as the sum of the values over a duration.
This value shall indicate the metric is calculated as the sum of the specified metric reading over
a duration. The duration shall be the CollectionDuration property value.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for CalculationAlgorithmEnum
impl Clone for CalculationAlgorithmEnum
Source§fn clone(&self) -> CalculationAlgorithmEnum
fn clone(&self) -> CalculationAlgorithmEnum
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CalculationAlgorithmEnum
impl Debug for CalculationAlgorithmEnum
Source§impl<'de> Deserialize<'de> for CalculationAlgorithmEnum
impl<'de> Deserialize<'de> for CalculationAlgorithmEnum
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>,
Source§impl PartialEq for CalculationAlgorithmEnum
impl PartialEq for CalculationAlgorithmEnum
Source§impl Serialize for CalculationAlgorithmEnum
impl Serialize for CalculationAlgorithmEnum
Source§impl ToSnakeCase for CalculationAlgorithmEnum
impl ToSnakeCase for CalculationAlgorithmEnum
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
snake_case string