Struct hap::service::slat::SlatInner[][src]

pub struct SlatInner {
    pub slat_type: SlatType,
    pub current_slat_state: CurrentSlatState,
    pub name: Option<Name>,
    pub current_tilt_angle: Option<CurrentTiltAngle>,
    pub target_tilt_angle: Option<TargetTiltAngle>,
    pub swing_mode: Option<SwingMode>,
    // some fields omitted
}

Inner type of the Slat Service.

Fields

Slat Type Characteristic.

Current Slat State Characteristic.

Name Characteristic.

Current Tilt Angle Characteristic.

Target Tilt Angle Characteristic.

Swing Mode Characteristic.

Trait Implementations

impl Default for SlatInner
[src]

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

impl HapService for SlatInner
[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

impl !Send for SlatInner

impl !Sync for SlatInner