Struct huelib::resource::scene::Modifier [−][src]
pub struct Modifier {
pub name: Option<String>,
pub lights: Option<Vec<String>>,
pub light_states: Option<HashMap<String, StaticStateModifier>>,
pub store_light_state: Option<bool>,
}
Expand description
Struct for modifying a scene.
Fields
name: Option<String>
Sets the name of the scene.
lights: Option<Vec<String>>
Sets the indentifiers of the lights that are in this scene.
light_states: Option<HashMap<String, StaticStateModifier>>
Sets the state of specific lights.
The keys of the HashMap are the light identifiers.
store_light_state: Option<bool>
Sets whether the state of the lights will be overwritten by the current state of the lights.
Implementations
Sets the lights
field of this struct.
Sets the light_states
field of this struct.
Sets the store_light_state
field of this struct.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Modifier
impl UnwindSafe for Modifier
Blanket Implementations
Mutably borrows from an owned value. Read more