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