Enum hap::HapType[][src]

pub enum HapType {
Show variants Unknown, AccessControlLevel, AccessoryFlags, AccessoryIdentifier, Active, ActiveIdentifier, ActivityInterval, AdministratorOnlyAccess, AirParticulateDensity, AirParticulateSize, ApplicationMatchingIdentifier, AudioFeedback, BatteryLevel, Brightness, ButtonEvent, CcaEnergyDetectThreshold, CcaSignalDetectThreshold, CameraOperatingModeIndicator, CarbonDioxideDetected, CarbonDioxideLevel, CarbonDioxidePeakLevel, CarbonMonoxideDetected, CarbonMonoxideLevel, CarbonMonoxidePeakLevel, CharacteristicValueActiveTransitionCount, CharacteristicValueTransitionControl, ChargingState, ClosedCaptions, CloudRelayControlPoint, CloudRelayCurrentState, CloudRelayEnableStatus, ColorTemperature, ConfiguredName, ContactSensorState, CoolingThresholdTemperature, CurrentAirPurifierState, CurrentAirQuality, CurrentDoorState, CurrentFanState, CurrentHeaterCoolerState, CurrentHeatingCoolingState, CurrentHorizontalTiltAngle, CurrentHumidifierDehumidifierState, CurrentLightLevel, CurrentMediaState, CurrentPosition, CurrentRelativeHumidity, CurrentSlatState, CurrentTemperature, CurrentTiltAngle, CurrentTransport, CurrentVerticalTiltAngle, CurrentVisibilityState, CurrentWaterLevel, DataStreamHapTransport, DataStreamHapTransportInterrupt, DigitalZoom, DisplayOrder, EventRetransmissionMaximum, EventSnapshotsActive, EventTransmissionCounters, FilterChangeIndication, FilterLifeLevel, FilterResetChangeIndication, FirmwareRevision, FirmwareUpdateReadiness, FirmwareUpdateStatus, HardwareRevision, HeartBeat, HeatingThresholdTemperature, HoldPosition, HomekitCameraActive, Hue, Identifier, Identify, ImageMirroring, ImageRotation, InUse, InputDeviceType, InputSourceType, IsConfigured, LabelIndex, LabelNamespace, LeakDetected, ListPairings, LockControlPoint, LockCurrentState, LockLastKnownAction, LockManagementAutoSecurityTimeout, LockPhysicalControls, LockTargetState, Logs, MacRetransmissionMaximum, MacTransmissionCounters, ManagedNetworkEnable, ManuallyDisabled, Manufacturer, MaximumTransmitPower, Model, MotionDetected, Mute, Name, NetworkAccessViolationControl, NetworkClientControl, NetworkClientStatusControl, NightVision, NitrogenDioxideDensity, ObstructionDetected, OccupancyDetected, OperatingStateResponse, OpticalZoom, OutletInUse, OzoneDensity, Pm10Density, Pm2_5Density, PairSetup, PairVerify, PairingFeatures, PasswordSetting, PeriodicSnapshotsActive, PictureMode, Ping, PositionState, PowerModeSelection, PowerState, ProductData, ProgramMode, ProgrammableSwitchEvent, ProgrammableSwitchOutputState, ReceivedSignalStrengthIndication, ReceiverSensitivity, RelativeHumidityDehumidifierThreshold, RelativeHumidityHumidifierThreshold, RemainingDuration, RemoteKey, RotationDirection, RotationSpeed, RouterStatus, Saturation, SecuritySystemAlarmType, SecuritySystemCurrentState, SecuritySystemTargetState, SelectedAudioStreamConfiguration, SelectedCameraRecordingConfiguration, SelectedStreamConfiguration, SerialNumber, ServiceSignature, SetDuration, SetupDataStreamTransport, SetupEndpoint, SetupTransferTransport, SignalToNoiseRatio, SiriInputType, SlatType, SleepDiscoveryMode, SleepInterval, SmokeDetected, SoftwareRevision, StagedFirmwareVersion, StatusActive, StatusFault, StatusJammed, StatusLowBattery, StatusTampered, StreamingStatus, SulphurDioxideDensity, SupportedAudioRecordingConfiguration, SupportedAudioStreamConfiguration, SupportedCameraRecordingConfiguration, SupportedCharacteristicValueTransitionConfiguration, SupportedDataStreamTransportConfiguration, SupportedDiagnosticsSnapshot, SupportedFirmwareUpdateConfiguration, SupportedRtpConfiguration, SupportedRouterConfiguration, SupportedTargetConfiguration, SupportedTransferTransportConfiguration, SupportedVideoRecordingConfiguration, SupportedVideoStreamConfiguration, SwingMode, TargetAirPurifierState, TargetDoorState, TargetFanState, TargetHeaterCoolerState, TargetHeatingCoolingState, TargetHorizontalTiltAngle, TargetHumidifierDehumidifierState, TargetListConfiguration, TargetMediaState, TargetPosition, TargetRelativeHumidity, TargetTemperature, TargetTiltAngle, TargetVerticalTiltAngle, TargetVisibilityState, TemperatureDisplayUnits, ThirdPartyCameraActive, ThreadControlPoint, ThreadNodeCapabilities, ThreadOpenthreadVersion, ThreadStatus, TransmitPower, TunnelConnectionTimeout, TunneledAccessoryAdvertisingStatus, TunneledAccessoryConnectionStatus, TunneledAccessoryStateNumber, ValveType, Version, VideoAnalysisActive, VolatileOrganicCompoundDensity, Volume, VolumeControlType, VolumeSelector, WanConfigurationList, WanStatusList, WakeConfiguration, WiFiCapabilities, WiFiConfigurationControl, WiFiSatelliteStatus, RecordingAudioActive, AccessControl, AccessoryInformation, AccessoryRuntimeInformation, AirPurifier, AirQualitySensor, AudioStreamManagement, Battery, CameraOperatingMode, CameraRecordingManagement, CameraStreamManagement, CarbonDioxideSensor, CarbonMonoxideSensor, CloudRelay, ContactSensor, DataStreamTransportManagement, Diagnostics, Door, Doorbell, Fan, FanV2, Faucet, FilterMaintenance, GarageDoorOpener, HeaterCooler, HumidifierDehumidifier, HumiditySensor, InputSource, IrrigationSystem, Label, LeakSensor, LightSensor, Lightbulb, LockManagement, LockMechanism, Microphone, MotionSensor, OccupancySensor, Outlet, Pairing, PowerManagement, ProtocolInformation, SecuritySystem, Siri, Slats, SmartSpeaker, SmokeSensor, Speaker, StatefulProgrammableSwitch, StatelessProgrammableSwitch, Switch, TargetControl, TargetControlManagement, Television, TemperatureSensor, Thermostat, ThreadTransport, TransferTransportManagement, Tunnel, Valve, WiFiRouter, WiFiSatellite, WiFiTransport, Window, WindowCovering,
}
Expand description

HAP service and characteristic type representation.

Variants

Unknown
AccessControlLevel
AccessoryFlags
AccessoryIdentifier
Active
ActiveIdentifier
ActivityInterval
AdministratorOnlyAccess
AirParticulateDensity
AirParticulateSize
ApplicationMatchingIdentifier
AudioFeedback
BatteryLevel
Brightness
ButtonEvent
CcaEnergyDetectThreshold
CcaSignalDetectThreshold
CameraOperatingModeIndicator
CarbonDioxideDetected
CarbonDioxideLevel
CarbonDioxidePeakLevel
CarbonMonoxideDetected
CarbonMonoxideLevel
CarbonMonoxidePeakLevel
CharacteristicValueActiveTransitionCount
CharacteristicValueTransitionControl
ChargingState
ClosedCaptions
CloudRelayControlPoint
CloudRelayCurrentState
CloudRelayEnableStatus
ColorTemperature
ConfiguredName
ContactSensorState
CoolingThresholdTemperature
CurrentAirPurifierState
CurrentAirQuality
CurrentDoorState
CurrentFanState
CurrentHeaterCoolerState
CurrentHeatingCoolingState
CurrentHorizontalTiltAngle
CurrentHumidifierDehumidifierState
CurrentLightLevel
CurrentMediaState
CurrentPosition
CurrentRelativeHumidity
CurrentSlatState
CurrentTemperature
CurrentTiltAngle
CurrentTransport
CurrentVerticalTiltAngle
CurrentVisibilityState
CurrentWaterLevel
DataStreamHapTransport
DataStreamHapTransportInterrupt
DigitalZoom
DisplayOrder
EventRetransmissionMaximum
EventSnapshotsActive
EventTransmissionCounters
FilterChangeIndication
FilterLifeLevel
FilterResetChangeIndication
FirmwareRevision
FirmwareUpdateReadiness
FirmwareUpdateStatus
HardwareRevision
HeartBeat
HeatingThresholdTemperature
HoldPosition
HomekitCameraActive
Hue
Identifier
Identify
ImageMirroring
ImageRotation
InUse
InputDeviceType
InputSourceType
IsConfigured
LabelIndex
LabelNamespace
LeakDetected
ListPairings
LockControlPoint
LockCurrentState
LockLastKnownAction
LockManagementAutoSecurityTimeout
LockPhysicalControls
LockTargetState
Logs
MacRetransmissionMaximum
MacTransmissionCounters
ManagedNetworkEnable
ManuallyDisabled
Manufacturer
MaximumTransmitPower
Model
MotionDetected
Mute
Name
NetworkAccessViolationControl
NetworkClientControl
NetworkClientStatusControl
NightVision
NitrogenDioxideDensity
ObstructionDetected
OccupancyDetected
OperatingStateResponse
OpticalZoom
OutletInUse
OzoneDensity
Pm10Density
Pm2_5Density
PairSetup
PairVerify
PairingFeatures
PasswordSetting
PeriodicSnapshotsActive
PictureMode
Ping
PositionState
PowerModeSelection
PowerState
ProductData
ProgramMode
ProgrammableSwitchEvent
ProgrammableSwitchOutputState
ReceivedSignalStrengthIndication
ReceiverSensitivity
RelativeHumidityDehumidifierThreshold
RelativeHumidityHumidifierThreshold
RemainingDuration
RemoteKey
RotationDirection
RotationSpeed
RouterStatus
Saturation
SecuritySystemAlarmType
SecuritySystemCurrentState
SecuritySystemTargetState
SelectedAudioStreamConfiguration
SelectedCameraRecordingConfiguration
SelectedStreamConfiguration
SerialNumber
ServiceSignature
SetDuration
SetupDataStreamTransport
SetupEndpoint
SetupTransferTransport
SignalToNoiseRatio
SiriInputType
SlatType
SleepDiscoveryMode
SleepInterval
SmokeDetected
SoftwareRevision
StagedFirmwareVersion
StatusActive
StatusFault
StatusJammed
StatusLowBattery
StatusTampered
StreamingStatus
SulphurDioxideDensity
SupportedAudioRecordingConfiguration
SupportedAudioStreamConfiguration
SupportedCameraRecordingConfiguration
SupportedCharacteristicValueTransitionConfiguration
SupportedDataStreamTransportConfiguration
SupportedDiagnosticsSnapshot
SupportedFirmwareUpdateConfiguration
SupportedRtpConfiguration
SupportedRouterConfiguration
SupportedTargetConfiguration
SupportedTransferTransportConfiguration
SupportedVideoRecordingConfiguration
SupportedVideoStreamConfiguration
SwingMode
TargetAirPurifierState
TargetDoorState
TargetFanState
TargetHeaterCoolerState
TargetHeatingCoolingState
TargetHorizontalTiltAngle
TargetHumidifierDehumidifierState
TargetListConfiguration
TargetMediaState
TargetPosition
TargetRelativeHumidity
TargetTemperature
TargetTiltAngle
TargetVerticalTiltAngle
TargetVisibilityState
TemperatureDisplayUnits
ThirdPartyCameraActive
ThreadControlPoint
ThreadNodeCapabilities
ThreadOpenthreadVersion
ThreadStatus
TransmitPower
TunnelConnectionTimeout
TunneledAccessoryAdvertisingStatus
TunneledAccessoryConnectionStatus
TunneledAccessoryStateNumber
ValveType
Version
VideoAnalysisActive
VolatileOrganicCompoundDensity
Volume
VolumeControlType
VolumeSelector
WanConfigurationList
WanStatusList
WakeConfiguration
WiFiCapabilities
WiFiConfigurationControl
WiFiSatelliteStatus
RecordingAudioActive
AccessControl
AccessoryInformation
AccessoryRuntimeInformation
AirPurifier
AirQualitySensor
AudioStreamManagement
Battery
CameraOperatingMode
CameraRecordingManagement
CameraStreamManagement
CarbonDioxideSensor
CarbonMonoxideSensor
CloudRelay
ContactSensor
DataStreamTransportManagement
Diagnostics
Door
Doorbell
Fan
FanV2
Faucet
FilterMaintenance
GarageDoorOpener
HeaterCooler
HumidifierDehumidifier
HumiditySensor
InputSource
IrrigationSystem
Label
LeakSensor
LightSensor
Lightbulb
LockManagement
LockMechanism
Microphone
MotionSensor
OccupancySensor
Outlet
Pairing
PowerManagement
ProtocolInformation
SecuritySystem
Siri
Slats
SmartSpeaker
SmokeSensor
Speaker
StatefulProgrammableSwitch
StatelessProgrammableSwitch
Switch
TargetControl
TargetControlManagement
Television
TemperatureSensor
Thermostat
ThreadTransport
TransferTransportManagement
Tunnel
Valve
WiFiRouter
WiFiSatellite
WiFiTransport
Window
WindowCovering

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Converts the given value to a String. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.