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