Enum huelib::resource::group::CreatableKind [−][src]
pub enum CreatableKind {
LightGroup,
Room,
Entertainment,
Zone,
}
Expand description
Kind of a group that can be manually created.
Variants
A group of lights that can be controlled together.
This the default group type that the bridge generates for user created groups. Default type when no type is given on creation.
A group of lights that are physically located in the same place.
Rooms behave similar as light groups, except: (1) A room can be empty and contain 0 lights, (2) a light is only allowed in one room and (3) a room is not automatically deleted when all lights in that room are deleted.
A group of lights that are used in an entertainment setup.
Entertainment group behave in a similar way as light groups, with the exception: it can be empty and contain 0 lights. The group is also not automatically recycled when lights are deleted. The group of lights can be controlled together as in LightGroup.
Zones describe a group of lights that can be controlled together.
Zones can be empty and contain 0 lights. A light is allowed to be in multiple zones.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for CreatableKind
impl Send for CreatableKind
impl Sync for CreatableKind
impl Unpin for CreatableKind
impl UnwindSafe for CreatableKind
Blanket Implementations
Mutably borrows from an owned value. Read more