Struct hap::service::leak_sensor::LeakSensorInner[][src]

pub struct LeakSensorInner {
    pub leak_detected: LeakDetected,
    pub status_active: Option<StatusActive>,
    pub status_fault: Option<StatusFault>,
    pub status_tampered: Option<StatusTampered>,
    pub status_low_battery: Option<StatusLowBattery>,
    pub name: Option<Name>,
    // some fields omitted
}

Inner type of the Leak Sensor Service.

Fields

Leak Detected Characteristic.

Status Active Characteristic.

Status Fault Characteristic.

Status Tampered Characteristic.

Status Low Battery Characteristic.

Name Characteristic.

Trait Implementations

impl Default for LeakSensorInner
[src]

Returns the "default value" for a type. Read more

impl HapService for LeakSensorInner
[src]

Returns the ID of a Service.

Sets the ID of a Service.

Returns the HapType of a Service.

Returns the hidden value of a Service.

Sets the hidden value of a Service.

Returns the primary value of a Service.

Sets the primary value of a Service.

Returns references to the Characteristics of a Service.

Returns mutable references to the Characteristics of a Service.

Auto Trait Implementations