#[non_exhaustive]pub enum ServiceType {
Show 42 variants
AccessoryInformation,
Fan,
GarageDoorOpener,
LightBulb,
LockManagement,
LockMechanism,
Outlet,
Switch,
Thermostat,
SecuritySystem,
CarbonMonoxideSensor,
ContactSensor,
Door,
HumiditySensor,
LeakSensor,
LightSensor,
MotionSensor,
OccupancySensor,
SmokeSensor,
StatelessProgrammableSwitch,
TemperatureSensor,
Window,
WindowCovering,
AirQualitySensor,
Battery,
CarbonDioxideSensor,
ProtocolInformation,
FanV2,
Slat,
FilterMaintenance,
AirPurifier,
HeaterCooler,
HumidifierDehumidifier,
ServiceLabel,
IrrigationSystem,
Valve,
Faucet,
CameraRtpStreamManagement,
Microphone,
Speaker,
Doorbell,
Unknown(Uuid),
}Expand description
HAP-defined ServiceType (generated). Unknown carries any non-HAP UUID.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AccessoryInformation
HAP short type “3E”.
Fan
HAP short type “40”.
GarageDoorOpener
HAP short type “41”.
LightBulb
HAP short type “43”.
LockManagement
HAP short type “44”.
LockMechanism
HAP short type “45”.
Outlet
HAP short type “47”.
Switch
HAP short type “49”.
Thermostat
HAP short type “4A”.
SecuritySystem
HAP short type “7E”.
CarbonMonoxideSensor
HAP short type “7F”.
ContactSensor
HAP short type “80”.
Door
HAP short type “81”.
HumiditySensor
HAP short type “82”.
LeakSensor
HAP short type “83”.
LightSensor
HAP short type “84”.
MotionSensor
HAP short type “85”.
OccupancySensor
HAP short type “86”.
SmokeSensor
HAP short type “87”.
StatelessProgrammableSwitch
HAP short type “89”.
TemperatureSensor
HAP short type “8A”.
Window
HAP short type “8B”.
WindowCovering
HAP short type “8C”.
AirQualitySensor
HAP short type “8D”.
Battery
HAP short type “96”.
CarbonDioxideSensor
HAP short type “97”.
ProtocolInformation
HAP short type “A2”.
FanV2
HAP short type “B7”.
Slat
HAP short type “B9”.
FilterMaintenance
HAP short type “BA”.
AirPurifier
HAP short type “BB”.
HeaterCooler
HAP short type “BC”.
HumidifierDehumidifier
HAP short type “BD”.
ServiceLabel
HAP short type “CC”.
IrrigationSystem
HAP short type “CF”.
Valve
HAP short type “D0”.
Faucet
HAP short type “D7”.
CameraRtpStreamManagement
HAP short type “110”.
Microphone
HAP short type “112”.
Speaker
HAP short type “113”.
Doorbell
HAP short type “121”.
Unknown(Uuid)
A type not in the generated table.
Implementations§
Trait Implementations§
Source§impl Clone for ServiceType
impl Clone for ServiceType
Source§fn clone(&self) -> ServiceType
fn clone(&self) -> ServiceType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ServiceType
impl Debug for ServiceType
impl Eq for ServiceType
Source§impl Hash for ServiceType
impl Hash for ServiceType
Source§impl PartialEq for ServiceType
impl PartialEq for ServiceType
Source§fn eq(&self, other: &ServiceType) -> bool
fn eq(&self, other: &ServiceType) -> bool
self and other values to be equal, and is used by ==.