Struct philipshue::hue::SceneModifier
[−]
[src]
pub struct SceneModifier { pub name: Option<String>, pub lights: Option<Vec<usize>>, pub storelightstate: bool, }
Struct for modifying a scene (renaming, setting lights, updating their state).
Fields
name: Option<String>
Name to rename the scene to
lights: Option<Vec<usize>>
New IDs of the lights the scene uses
storelightstate: bool
If true, it will update the light states in the scene to the states of the actual lights
Trait Implementations
impl Clone for SceneModifier
[src]
fn clone(&self) -> SceneModifier
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more