Struct redfish_codegen::models::sensor::v1_4_1::SensorCurrentExcerpt
source · pub struct SensorCurrentExcerpt {
pub crest_factor: Option<f64>,
pub data_source_uri: Option<String>,
pub reading: Option<f64>,
pub thd_percent: Option<f64>,
}
Expand description
The Sensor schema describes a sensor and its properties.
Fields§
§crest_factor: Option<f64>
The crest factor for this sensor.
data_source_uri: Option<String>
The link to the resource that provides the data for this sensor.
reading: Option<f64>
The sensor value.
thd_percent: Option<f64>
The total harmonic distortion (THD).
Trait Implementations§
source§impl Clone for SensorCurrentExcerpt
impl Clone for SensorCurrentExcerpt
source§fn clone(&self) -> SensorCurrentExcerpt
fn clone(&self) -> SensorCurrentExcerpt
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 SensorCurrentExcerpt
impl Debug for SensorCurrentExcerpt
source§impl Default for SensorCurrentExcerpt
impl Default for SensorCurrentExcerpt
source§fn default() -> SensorCurrentExcerpt
fn default() -> SensorCurrentExcerpt
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SensorCurrentExcerpt
impl<'de> Deserialize<'de> for SensorCurrentExcerpt
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