pub enum CalculationAlgorithmEnum {
Average,
Maximum,
Minimum,
Oem,
UnsupportedValue,
}Variants§
Average
The metric is calculated as the average metric reading over a sliding time interval.
The metric shall be calculated as the average metric reading over a sliding time interval. The
time interval shall contain the CalculationTimeInterval property value.
Maximum
The metric is calculated as the maximum metric reading over during a time interval.
The metric shall be calculated as the maximum metric reading over a sliding time interval. The
time interval shall contain the CalculationTimeInterval property value.
Minimum
The metric is calculated as the minimum metric reading over a sliding time interval.
The metric shall be calculated as the minimum metric reading over a sliding time interval. The
time interval shall contain the CalculationTimeInterval property value.
Oem
The metric is calculated as specified by an OEM.
The metric shall be calculated as specified by an OEM. The OEMCalculationAlgorithm property
shall contain the specific OEM calculation algorithm.
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for CalculationAlgorithmEnum
Source§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>,
impl Eq for CalculationAlgorithmEnum
Source§impl PartialEq for CalculationAlgorithmEnum
impl PartialEq for CalculationAlgorithmEnum
Source§fn eq(&self, other: &CalculationAlgorithmEnum) -> bool
fn eq(&self, other: &CalculationAlgorithmEnum) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for CalculationAlgorithmEnum
impl Serialize for CalculationAlgorithmEnum
impl StructuralPartialEq 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