pub struct Power {Show 17 fields
pub odata_context: Option<Context>,
pub odata_etag: Option<Etag>,
pub odata_id: Id,
pub odata_type: Type,
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: Type
§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
Source§impl Metadata<'static> for Power
impl Metadata<'static> for Power
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 Power
impl RefUnwindSafe for Power
impl Send for Power
impl Sync for Power
impl Unpin for Power
impl UnwindSafe for Power
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