Struct redfish_codegen::models::power_subsystem::v1_1_0::PowerAllocation
source · pub struct PowerAllocation {
pub allocated_watts: Option<f64>,
pub requested_watts: Option<f64>,
}
Expand description
Power allocation for a subsystem.
Fields§
§allocated_watts: Option<f64>
The total amount of power that has been allocated or budgeted to this subsystem.
requested_watts: Option<f64>
The potential power, in watts, that the subsystem requests, which might be higher than the current level being consumed because the requested power includes a budget that the subsystem wants for future use.
Trait Implementations§
source§impl Clone for PowerAllocation
impl Clone for PowerAllocation
source§fn clone(&self) -> PowerAllocation
fn clone(&self) -> PowerAllocation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PowerAllocation
impl Debug for PowerAllocation
source§impl Default for PowerAllocation
impl Default for PowerAllocation
source§fn default() -> PowerAllocation
fn default() -> PowerAllocation
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PowerAllocation
impl<'de> Deserialize<'de> for PowerAllocation
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