[][src]Struct hap::service::smoke_sensor::SmokeSensorInner

pub struct SmokeSensorInner {
    pub smoke_detected: SmokeDetected,
    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 Smoke Sensor Service.

Fields

smoke_detected: SmokeDetected

Smoke Detected Characteristic.

status_active: Option<StatusActive>

Status Active Characteristic.

status_fault: Option<StatusFault>

Status Fault Characteristic.

status_tampered: Option<StatusTampered>

Status Tampered Characteristic.

status_low_battery: Option<StatusLowBattery>

Status Low Battery Characteristic.

name: Option<Name>

Name Characteristic.

Trait Implementations

impl HapService for SmokeSensorInner[src]

impl Default for SmokeSensorInner[src]

Auto Trait Implementations

Blanket Implementations

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> Same<T> for T

type Output = T

Should always be Self

impl<T> Erased for T