Struct redfish_codegen::models::sensor::v1_4_1::SensorPowerExcerpt
source · pub struct SensorPowerExcerpt {
pub apparent_va: Option<f64>,
pub data_source_uri: Option<String>,
pub power_factor: Option<f64>,
pub reactive_var: Option<f64>,
pub reading: Option<f64>,
}
Expand description
The Sensor schema describes a sensor and its properties.
Fields§
§apparent_va: Option<f64>
The product of voltage and current for an AC circuit, in volt-ampere units.
data_source_uri: Option<String>
The link to the resource that provides the data for this sensor.
power_factor: Option<f64>
The power factor for this sensor.
reactive_var: Option<f64>
The square root of the difference term of squared apparent VA and squared power (Reading) for a circuit, in VAR units.
reading: Option<f64>
The sensor value.
Trait Implementations§
source§impl Clone for SensorPowerExcerpt
impl Clone for SensorPowerExcerpt
source§fn clone(&self) -> SensorPowerExcerpt
fn clone(&self) -> SensorPowerExcerpt
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 SensorPowerExcerpt
impl Debug for SensorPowerExcerpt
source§impl Default for SensorPowerExcerpt
impl Default for SensorPowerExcerpt
source§fn default() -> SensorPowerExcerpt
fn default() -> SensorPowerExcerpt
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SensorPowerExcerpt
impl<'de> Deserialize<'de> for SensorPowerExcerpt
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