[][src]Enum hap::HapType

pub enum HapType {
    Unknown,
    AccessoryFlags,
    Active,
    ActiveIdentifier,
    AdministratorOnlyAccess,
    AirParticulateDensity,
    AirParticulateSize,
    AirQuality,
    AudioFeedback,
    BatteryLevel,
    Brightness,
    CarbonDioxideDetected,
    CarbonDioxideLevel,
    CarbonDioxidePeakLevel,
    CarbonMonoxideDetected,
    CarbonMonoxideLevel,
    CarbonMonoxidePeakLevel,
    ChargingState,
    ClosedCaptions,
    ConfiguredName,
    DisplayOrder,
    ColorTemperature,
    ContactSensorState,
    CoolingThresholdTemperature,
    CurrentAirPurifierState,
    CurrentAmbientLightLevel,
    CurrentDoorState,
    CurrentFanState,
    CurrentHeaterCoolerState,
    CurrentHeatingCoolingState,
    CurrentHorizontalTiltAngle,
    CurrentHumidifierDehumidifierState,
    CurrentMediaState,
    TargetMediaState,
    CurrentPosition,
    CurrentRelativeHumidity,
    CurrentSlatState,
    CurrentTemperature,
    CurrentTiltAngle,
    CurrentVerticalTiltAngle,
    DigitalZoom,
    FilterChangeIndication,
    FilterLifeLevel,
    FirmwareRevision,
    HardwareRevision,
    HeatingThresholdTemperature,
    HoldPosition,
    Hue,
    Identify,
    InputSourceType,
    InputDeviceType,
    Identifier,
    CurrentVisibilityState,
    TargetVisibilityState,
    ImageMirroring,
    ImageRotation,
    InUse,
    IsConfigured,
    LeakDetected,
    LockControlPoint,
    LockCurrentState,
    LockLastKnownAction,
    LockManagementAutoSecurityTimeout,
    LockPhysicalControls,
    LockTargetState,
    Logs,
    Manufacturer,
    Model,
    MotionDetected,
    Mute,
    Name,
    NightVision,
    NitrogenDioxideDensity,
    ObstructionDetected,
    OccupancyDetected,
    On,
    OpticalZoom,
    OutletInUse,
    OzoneDensity,
    PairSetup,
    PairVerify,
    PairingFeatures,
    PairingPairings,
    PM10Density,
    PM2_5Density,
    PositionState,
    PictureMode,
    PowerModeSelection,
    ProgramMode,
    ProgrammableSwitchEvent,
    RemoteKey,
    RelativeHumidityDehumidifierThreshold,
    RelativeHumidityHumidifierThreshold,
    RemainingDuration,
    ResetFilterIndication,
    RotationDirection,
    RotationSpeed,
    Saturation,
    SecuritySystemAlarmType,
    SecuritySystemCurrentState,
    SecuritySystemTargetState,
    SelectedRTPStreamConfiguration,
    SerialNumber,
    ServiceLabelIndex,
    ServiceLabelNamespace,
    SetDuration,
    SetupEndpoints,
    SlatType,
    SleepDiscoveryMode,
    SmokeDetected,
    StatusActive,
    StatusFault,
    StatusJammed,
    StatusLowBattery,
    StatusTampered,
    StreamingStatus,
    SulphurDioxideDensity,
    SupportedAudioStreamConfiguration,
    SupportedRTPConfiguration,
    SupportedVideoStreamConfiguration,
    SwingMode,
    TargetAirPurifierState,
    TargetAirQuality,
    TargetDoorState,
    TargetFanState,
    TargetHeaterCoolerState,
    TargetHeatingCoolingState,
    TargetHorizontalTiltAngle,
    TargetHumidifierDehumidifierState,
    TargetPosition,
    TargetRelativeHumidity,
    TargetSlatState,
    TargetTemperature,
    TargetTiltAngle,
    TargetVerticalTiltAngle,
    TemperatureDisplayUnits,
    ValveType,
    Version,
    VOCDensity,
    Volume,
    VolumeControlType,
    VolumeSelector,
    WaterLevel,
    AccessoryInformation,
    AirPurifier,
    AirQualitySensor,
    BatteryService,
    CameraRTPStreamManagement,
    CarbonDioxideSensor,
    CarbonMonoxideSensor,
    ContactSensor,
    Door,
    Doorbell,
    Fan,
    Fanv2,
    FilterMaintenance,
    Faucet,
    GarageDoorOpener,
    HeaterCooler,
    HumidifierDehumidifier,
    HumiditySensor,
    IrrigationSystem,
    LeakSensor,
    LightSensor,
    Lightbulb,
    LockManagement,
    LockMechanism,
    Microphone,
    MotionSensor,
    OccupancySensor,
    Outlet,
    SecuritySystem,
    ServiceLabel,
    Slat,
    SmokeSensor,
    Speaker,
    StatelessProgrammableSwitch,
    Switch,
    TemperatureSensor,
    Thermostat,
    Valve,
    Window,
    WindowCovering,
    Television,
    InputSource,
}

HAP Service and Characteristic type.

Variants

UnknownAccessoryFlagsActiveActiveIdentifierAdministratorOnlyAccessAirParticulateDensityAirParticulateSizeAirQualityAudioFeedbackBatteryLevelBrightnessCarbonDioxideDetectedCarbonDioxideLevelCarbonDioxidePeakLevelCarbonMonoxideDetectedCarbonMonoxideLevelCarbonMonoxidePeakLevelChargingStateClosedCaptionsConfiguredNameDisplayOrderColorTemperatureContactSensorStateCoolingThresholdTemperatureCurrentAirPurifierStateCurrentAmbientLightLevelCurrentDoorStateCurrentFanStateCurrentHeaterCoolerStateCurrentHeatingCoolingStateCurrentHorizontalTiltAngleCurrentHumidifierDehumidifierStateCurrentMediaStateTargetMediaStateCurrentPositionCurrentRelativeHumidityCurrentSlatStateCurrentTemperatureCurrentTiltAngleCurrentVerticalTiltAngleDigitalZoomFilterChangeIndicationFilterLifeLevelFirmwareRevisionHardwareRevisionHeatingThresholdTemperatureHoldPositionHueIdentifyInputSourceTypeInputDeviceTypeIdentifierCurrentVisibilityStateTargetVisibilityStateImageMirroringImageRotationInUseIsConfiguredLeakDetectedLockControlPointLockCurrentStateLockLastKnownActionLockManagementAutoSecurityTimeoutLockPhysicalControlsLockTargetStateLogsManufacturerModelMotionDetectedMuteNameNightVisionNitrogenDioxideDensityObstructionDetectedOccupancyDetectedOnOpticalZoomOutletInUseOzoneDensityPairSetupPairVerifyPairingFeaturesPairingPairingsPM10DensityPM2_5DensityPositionStatePictureModePowerModeSelectionProgramModeProgrammableSwitchEventRemoteKeyRelativeHumidityDehumidifierThresholdRelativeHumidityHumidifierThresholdRemainingDurationResetFilterIndicationRotationDirectionRotationSpeedSaturationSecuritySystemAlarmTypeSecuritySystemCurrentStateSecuritySystemTargetStateSelectedRTPStreamConfigurationSerialNumberServiceLabelIndexServiceLabelNamespaceSetDurationSetupEndpointsSlatTypeSleepDiscoveryModeSmokeDetectedStatusActiveStatusFaultStatusJammedStatusLowBatteryStatusTamperedStreamingStatusSulphurDioxideDensitySupportedAudioStreamConfigurationSupportedRTPConfigurationSupportedVideoStreamConfigurationSwingModeTargetAirPurifierStateTargetAirQualityTargetDoorStateTargetFanStateTargetHeaterCoolerStateTargetHeatingCoolingStateTargetHorizontalTiltAngleTargetHumidifierDehumidifierStateTargetPositionTargetRelativeHumidityTargetSlatStateTargetTemperatureTargetTiltAngleTargetVerticalTiltAngleTemperatureDisplayUnitsValveTypeVersionVOCDensityVolumeVolumeControlTypeVolumeSelectorWaterLevelAccessoryInformationAirPurifierAirQualitySensorBatteryServiceCameraRTPStreamManagementCarbonDioxideSensorCarbonMonoxideSensorContactSensorDoorDoorbellFanFanv2FilterMaintenanceFaucetGarageDoorOpenerHeaterCoolerHumidifierDehumidifierHumiditySensorIrrigationSystemLeakSensorLightSensorLightbulbLockManagementLockMechanismMicrophoneMotionSensorOccupancySensorOutletSecuritySystemServiceLabelSlatSmokeSensorSpeakerStatelessProgrammableSwitchSwitchTemperatureSensorThermostatValveWindowWindowCoveringTelevisionInputSource

Methods

impl HapType[src]

pub fn to_string(self) -> String[src]

Converts a HapType to its corresponding shortened UUID string.

Trait Implementations

impl Clone for HapType[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for HapType[src]

impl Copy for HapType[src]

impl Debug for HapType[src]

impl Serialize for HapType[src]

Auto Trait Implementations

impl Sync for HapType

impl Send for HapType

impl Unpin for HapType

impl RefUnwindSafe for HapType

impl UnwindSafe for HapType

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Serialize for T where
    T: Serialize + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Erased for T