pub enum SensorClass {
Show 53 variants
Generic,
ApparentPower,
Aqi,
AtmosphericPressure,
Battery,
CarbonDioxide,
CarbonMonoxide,
Current,
DataRate,
DataSize,
Date,
Distance,
Duration,
Energy,
EnergyStorage,
Enum,
Frequency,
Gas,
Humidity,
Illuminance,
Irradiance,
Moisture,
Monetary,
NitrogenDioxide,
NitrogenMonoxide,
NitrousOxide,
Ozone,
Ph,
Pm1,
Pm25,
Pm10,
PowerFactor,
Power,
Precipitation,
PrecipitationIntensity,
Pressure,
ReactivePower,
SignalStrength,
SoundPressure,
Speed,
SulphurDioxide,
Temperature,
Timestamp,
VolatileOrganicCompounds,
VolatileOrganicCompoundsParts,
Voltage,
Volume,
VolumeFlowRate,
VolumeStorage,
Water,
Weight,
WindSpeed,
Other(&'static str),
}Variants§
Generic
ApparentPower
Aqi
AtmosphericPressure
Battery
CarbonDioxide
CarbonMonoxide
Current
DataRate
DataSize
Date
Distance
Duration
Energy
EnergyStorage
Enum
Frequency
Gas
Humidity
Illuminance
Irradiance
Moisture
Monetary
NitrogenDioxide
NitrogenMonoxide
NitrousOxide
Ozone
Ph
Pm1
Pm25
Pm10
PowerFactor
Power
Precipitation
PrecipitationIntensity
Pressure
ReactivePower
SignalStrength
SoundPressure
Speed
SulphurDioxide
Temperature
Timestamp
VolatileOrganicCompounds
VolatileOrganicCompoundsParts
Voltage
Volume
VolumeFlowRate
VolumeStorage
Water
Weight
WindSpeed
Other(&'static str)
Implementations§
Trait Implementations§
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 · 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 SensorClass
impl Debug for SensorClass
Source§impl Default for SensorClass
impl Default for SensorClass
Source§fn default() -> SensorClass
fn default() -> SensorClass
Returns the “default value” for a type. Read more
Source§impl PartialEq for SensorClass
impl PartialEq for SensorClass
impl Copy for SensorClass
impl Eq for SensorClass
impl StructuralPartialEq 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 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