pub struct Power {Show 17 fields
pub odata_context: Option<Context>,
pub odata_etag: Option<Etag>,
pub odata_id: Id,
pub odata_type: MustBeStr<(char<{ _ }>, P, o, (w, e, r, char<{ _ }>), (v, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>), (char<{ _ }>, P, o, w, e, r))>,
pub actions: Option<Actions>,
pub description: Option<Description>,
pub id: Id,
pub name: Name,
pub oem: Option<Oem>,
pub power_control: Option<Vec<PowerControl>>,
pub power_control_odata_count: Option<Count>,
pub power_supplies: Option<Vec<PowerSupply>>,
pub power_supplies_odata_count: Option<Count>,
pub redundancy: Option<Vec<Redundancy>>,
pub redundancy_odata_count: Option<Count>,
pub voltages: Option<Vec<Voltage>>,
pub voltages_odata_count: Option<Count>,
}
Expand description
The Power schema describes power metrics and represents the properties for power consumption and power limiting.
Fields§
§odata_context: Option<Context>
§odata_etag: Option<Etag>
§odata_id: Id
§odata_type: MustBeStr<(char<{ _ }>, P, o, (w, e, r, char<{ _ }>), (v, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>), (char<{ _ }>, P, o, w, e, r))>
§actions: Option<Actions>
§description: Option<Description>
§id: Id
§name: Name
§oem: Option<Oem>
§power_control: Option<Vec<PowerControl>>
The set of power control functions, including power reading and limiting.
power_control_odata_count: Option<Count>
§power_supplies: Option<Vec<PowerSupply>>
The set of power supplies associated with this system or device.
power_supplies_odata_count: Option<Count>
§redundancy: Option<Vec<Redundancy>>
The redundancy information for the set of power supplies in this chassis.
redundancy_odata_count: Option<Count>
§voltages: Option<Vec<Voltage>>
The set of voltage sensors for this chassis.
voltages_odata_count: Option<Count>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Power
impl<'de> Deserialize<'de> for Power
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