Struct redfish_codegen::models::sensor::v1_0_8::SensorArrayExcerpt
source · pub struct SensorArrayExcerpt {
pub data_source_uri: Option<String>,
pub physical_context: Option<PhysicalContext>,
pub physical_sub_context: Option<PhysicalSubContext>,
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.
physical_context: Option<PhysicalContext>
§physical_sub_context: Option<PhysicalSubContext>
§reading: Option<f64>
The sensor value.
Trait Implementations§
source§impl Clone for SensorArrayExcerpt
impl Clone for SensorArrayExcerpt
source§fn clone(&self) -> SensorArrayExcerpt
fn clone(&self) -> SensorArrayExcerpt
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 SensorArrayExcerpt
impl Debug for SensorArrayExcerpt
source§impl Default for SensorArrayExcerpt
impl Default for SensorArrayExcerpt
source§fn default() -> SensorArrayExcerpt
fn default() -> SensorArrayExcerpt
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SensorArrayExcerpt
impl<'de> Deserialize<'de> for SensorArrayExcerpt
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