Struct huelib::resource::scene::Creator [−][src]
pub struct Creator {
pub name: String,
pub lights: Vec<String>,
pub kind: Option<Kind>,
pub app_data: Option<AppData>,
pub light_states: Option<HashMap<String, StaticStateModifier>>,
}
Expand description
Struct for creating a scene.
Fields
name: String
Sets the name of the scene.
lights: Vec<String>
Sets the light identifiers of the scene.
kind: Option<Kind>
Sets the type of the scene.
app_data: Option<AppData>
Sets the app data of the scene.
light_states: Option<HashMap<String, StaticStateModifier>>
Sets the state of specific lights.
Implementations
Sets the app_data
field of this struct.
Sets the light_states
field of this struct.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Creator
impl UnwindSafe for Creator
Blanket Implementations
Mutably borrows from an owned value. Read more