Struct aws_sdk_iotfleetwise::model::Sensor
source · #[non_exhaustive]pub struct Sensor { /* private fields */ }
Expand description
An input component that reports the environmental condition of a vehicle.
You can collect data about fluid levels, temperatures, vibrations, or battery voltage from sensors.
Implementations§
source§impl Sensor
impl Sensor
sourcepub fn fully_qualified_name(&self) -> Option<&str>
pub fn fully_qualified_name(&self) -> Option<&str>
The fully qualified name of the sensor. For example, the fully qualified name of a sensor might be Vehicle.Body.Engine.Battery
.
sourcepub fn data_type(&self) -> Option<&NodeDataType>
pub fn data_type(&self) -> Option<&NodeDataType>
The specified data type of the sensor.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A brief description of a sensor.
sourcepub fn unit(&self) -> Option<&str>
pub fn unit(&self) -> Option<&str>
The scientific unit of measurement for data collected by the sensor.
sourcepub fn allowed_values(&self) -> Option<&[String]>
pub fn allowed_values(&self) -> Option<&[String]>
A list of possible values a sensor can take.