Struct hap::accessory::lightbulb::LightbulbInner[][src]

pub struct LightbulbInner {
    pub accessory_information: AccessoryInformation,
    pub lightbulb: Lightbulb,
    // some fields omitted
}

Inner type of the Lightbulb Accessory.

Fields

Accessory Information Service.

Lightbulb Service.

Trait Implementations

impl Default for LightbulbInner
[src]

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

impl HapAccessory for LightbulbInner
[src]

Returns the ID of an Accessory.

Sets the ID of an Accessory.

Returns references to all Services of an Accessory.

Returns mutable references to the Services of an Accessory.

Returns a mutable reference to the Accessory Information Service of an Accessory.

Initializes the Service and Characteristic instance IDs of an Accessory. Service and Characteristic instance IDs, "iid", are assigned from the same number pool that is unique within each Accessory object. For example, if the first Service object has an instance ID of "1" then no other Service or Characteristic objects can have an instance ID of "1" within the parent Accessory object. Read more

Auto Trait Implementations