[−][src]Struct huelib::resource::group::Group
A group of lights.
Fields
id: String
Identifier of the group.
name: String
Name of the group.
lights: Vec<String>
Identifiers of lights that are in this group.
sensors: Vec<String>
Identifiers of sensors that are in this group.
kind: Kind
Kind of the group.
class: Option<Class>
state: Option<State>
State of the group.
model_id: Option<String>
Model identifier of the group.
Only present for automatically created luminaires.
unique_id: Option<String>
Unique identifier of the group.
In AA:BB:CC:DD format for luminaire groups or AA:BB:CC:DD-XX format for lightsource groups, where XX is the lightsource position.
recycle: Option<bool>
Whether the group is automatically deleted when not referenced anymore.
Trait Implementations
impl Clone for Group
[src]
impl Debug for Group
[src]
impl<'de> Deserialize<'de> for Group
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for Group
[src]
impl PartialEq<Group> for Group
[src]
impl Resource for Group
[src]
impl StructuralEq for Group
[src]
impl StructuralPartialEq for Group
[src]
Auto Trait Implementations
impl RefUnwindSafe for Group
[src]
impl Send for Group
[src]
impl Sync for Group
[src]
impl Unpin for Group
[src]
impl UnwindSafe for Group
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,