[][src]Struct hap::service::security_system::SecuritySystemService

pub struct SecuritySystemService {
    pub security_system_current_state: SecuritySystemCurrentStateCharacteristic,
    pub security_system_target_state: SecuritySystemTargetStateCharacteristic,
    pub status_fault: Option<StatusFaultCharacteristic>,
    pub status_tampered: Option<StatusTamperedCharacteristic>,
    pub security_system_alarm_type: Option<SecuritySystemAlarmTypeCharacteristic>,
    pub name: Option<NameCharacteristic>,
    // some fields omitted
}

Security System Service.

Fields

security_system_current_state: SecuritySystemCurrentStateCharacteristic

Security System Current State Characteristic (required).

security_system_target_state: SecuritySystemTargetStateCharacteristic

Security System Target State Characteristic (required).

status_fault: Option<StatusFaultCharacteristic>

Status Fault Characteristic (optional).

status_tampered: Option<StatusTamperedCharacteristic>

Status Tampered Characteristic (optional).

security_system_alarm_type: Option<SecuritySystemAlarmTypeCharacteristic>

Security System Alarm Type Characteristic (optional).

name: Option<NameCharacteristic>

Name Characteristic (optional).

Implementations

impl SecuritySystemService[src]

pub fn new(id: u64, accessory_id: u64) -> Self[src]

Creates a new Security System Service.

Trait Implementations

impl Debug for SecuritySystemService[src]

impl Default for SecuritySystemService[src]

impl HapService for SecuritySystemService[src]

impl Serialize for SecuritySystemService[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Serialize for T where
    T: Serialize + ?Sized
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,