Struct hap::accessory::carbon_monoxide_sensor::CarbonMonoxideSensorInner[][src]

pub struct CarbonMonoxideSensorInner {
    pub accessory_information: AccessoryInformation,
    pub carbon_monoxide_sensor: CarbonMonoxideSensor,
    // some fields omitted
}

Inner type of the Carbon Monoxide Sensor Accessory.

Fields

Accessory Information Service.

Carbon Monoxide Sensor Service.

Trait Implementations

impl Default for CarbonMonoxideSensorInner
[src]

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

impl HapAccessory for CarbonMonoxideSensorInner
[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