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

LightGroup

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.

Room

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.

Entertainment

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.

Zone

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.