Struct philipshue::hue::Scene [] [src]

pub struct Scene {
    pub name: String,
    pub lights: Vec<usize>,
    pub owner: String,
    pub recycle: bool,
    pub locked: bool,
    pub appdata: Option<AppData>,
    pub picture: Option<String>,
    pub lastupdated: Option<String>,
    pub lightstates: Map<usize, LightStateChange>,
}

A scene

A scene can be used to store a specific set of states of lights on the bridge to recall later.

Fields

Human readable name given to the scene

The IDs of the lights in the scene.

The name of the user that created or last modified the scene

Whether the scene can be deleted automatically by the bridge

Whether the scene is locked by a rule or schedule.

App specific data linked to this scene

Reserved for future use. See Philips Hue documention

UTC timestamp of when the scene was last updated

Light states stored on the scene to be recalled

Trait Implementations

impl Clone for Scene
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Scene
[src]

Formats the value using the given formatter.