pub enum SensorClass {
Show 51 variants
ApparentPower,
Aqi,
AtmosphericPressure,
Battery,
Co2,
Co,
Current,
DataRate,
DataSize,
Date,
Distance,
Duration,
Energy,
EnergyStorage,
Enum,
Frequency,
Gas,
Humidity,
Illuminance,
Irradiance,
Moisture,
Monetary,
NitrogenDioxide,
NitrogenMonoxide,
NitrousOxide,
Ozone,
Ph,
Pm1,
Pm25,
Pm10,
Power,
PowerFactor,
Precipitation,
PrecipitationDensity,
Pressure,
ReactivePower,
SignalStrength,
SoundPressure,
Speed,
SulphurDioxide,
Temperature,
Timestamp,
VolatileOrganicCompounds,
VolatileOrganicCompoundsParst,
Voltage,
Volume,
VolumeFlowRate,
VolumeStorage,
Water,
Weight,
WindSpeed,
}Variants§
ApparentPower
Aqi
AtmosphericPressure
Battery
Co2
Co
Current
DataRate
DataSize
Date
Distance
Duration
Energy
EnergyStorage
Enum
Frequency
Gas
Humidity
Illuminance
Irradiance
Moisture
Monetary
NitrogenDioxide
NitrogenMonoxide
NitrousOxide
Ozone
Ph
Pm1
Pm25
Pm10
Power
PowerFactor
Precipitation
PrecipitationDensity
Pressure
ReactivePower
SignalStrength
SoundPressure
Speed
SulphurDioxide
Temperature
Timestamp
VolatileOrganicCompounds
VolatileOrganicCompoundsParst
Voltage
Volume
VolumeFlowRate
VolumeStorage
Water
Weight
WindSpeed
Trait Implementations§
Source§impl AsRef<str> for SensorClass
impl AsRef<str> for SensorClass
Source§impl Clone for SensorClass
impl Clone for SensorClass
Source§fn clone(&self) -> SensorClass
fn clone(&self) -> SensorClass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SensorClass
Source§impl Debug for SensorClass
impl Debug for SensorClass
impl Eq for SensorClass
Source§impl FromStr for SensorClass
impl FromStr for SensorClass
Source§impl PartialEq for SensorClass
impl PartialEq for SensorClass
Source§fn eq(&self, other: &SensorClass) -> bool
fn eq(&self, other: &SensorClass) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SensorClass
Source§impl TryFrom<&str> for SensorClass
impl TryFrom<&str> for SensorClass
Source§impl VariantNames for SensorClass
impl VariantNames for SensorClass
Auto Trait Implementations§
impl Freeze for SensorClass
impl RefUnwindSafe for SensorClass
impl Send for SensorClass
impl Sync for SensorClass
impl Unpin for SensorClass
impl UnsafeUnpin for SensorClass
impl UnwindSafe for SensorClass
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more