pub struct PowerMetric {
pub average_consumed_watts: Option<f64>,
pub interval_in_min: Option<i64>,
pub max_consumed_watts: Option<f64>,
pub min_consumed_watts: Option<f64>,
}
Expand description
The power metrics for a resource.
Fields§
§average_consumed_watts: Option<f64>
The average power level over the measurement window over the last IntervalInMin minutes.
interval_in_min: Option<i64>
The time interval, or window, over which the power metrics are measured.
max_consumed_watts: Option<f64>
The highest power consumption level, in watts, that has occurred over the measurement window within the last IntervalInMin minutes.
min_consumed_watts: Option<f64>
The lowest power consumption level, in watts, over the measurement window that occurred within the last IntervalInMin minutes.
Trait Implementations§
Source§impl Clone for PowerMetric
impl Clone for PowerMetric
Source§fn clone(&self) -> PowerMetric
fn clone(&self) -> PowerMetric
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PowerMetric
impl Debug for PowerMetric
Source§impl Default for PowerMetric
impl Default for PowerMetric
Source§impl<'de> Deserialize<'de> for PowerMetric
impl<'de> Deserialize<'de> for PowerMetric
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 Metadata<'static> for PowerMetric
impl Metadata<'static> for PowerMetric
Source§const JSON_SCHEMA: &'static str = "Power.v1_7_1.json"
const JSON_SCHEMA: &'static str = "Power.v1_7_1.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for PowerMetric
impl RefUnwindSafe for PowerMetric
impl Send for PowerMetric
impl Sync for PowerMetric
impl Unpin for PowerMetric
impl UnwindSafe for PowerMetric
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