pub struct ProductInfo {
    pub name: &'static str,
    pub color: bool,
    pub infrared: bool,
    pub multizone: bool,
    pub chain: bool,
    pub hev: bool,
    pub matrix: bool,
    pub relays: bool,
    pub buttons: bool,
    pub temperature_range: TemperatureRange,
}

Fields

name: &'static strcolor: bool

The light changes physical appearance when the Hue value is changed

infrared: bool

The light supports emitting infrared light

multizone: bool

The light supports a 1D linear array of LEDs (the Z and Beam)

chain: bool

The light may be connected to physically separated hardware (currently only the LIFX Tile)

hev: bool

The light supports emitted HEV light

matrix: bool

The light supports a 2D matrix of LEDs (the Tile and Candle)

relays: bool

The device has relays for controlling physical power to something (the LIFX switch)

buttons: bool

The device has physical buttons to press (the LIFX switch)

temperature_range: TemperatureRange

The temperature range this device supports

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.