Struct huelib::resource::group::Creator [−][src]
pub struct Creator {
pub name: String,
pub lights: Vec<String>,
pub sensors: Option<Vec<String>>,
pub kind: Option<CreatableKind>,
pub class: Option<Class>,
pub recycle: Option<bool>,
}
Expand description
Struct for creating a group.
Fields
name: String
Sets the name of the group.
lights: Vec<String>
Sets the light identifiers of the group.
sensors: Option<Vec<String>>
Sets the sensor identifiers of the group.
kind: Option<CreatableKind>
Sets the kind of the group.
class: Option<Class>
Sets the class of the group.
recycle: Option<bool>
Sets whether the group is automatically deleted when not referenced anymore.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Creator
impl UnwindSafe for Creator
Blanket Implementations
Mutably borrows from an owned value. Read more