Struct philipshue::hue::GroupState
[−]
[src]
pub struct GroupState { pub any_on: bool, pub all_on: bool, pub bri: Option<u8>, pub lastupdated: Option<String>, pub lastswitched: Option<String>, }
State reprensentation of the group
Fields
any_on: bool
false
if all lamps are off, true
otherwise.
all_on: bool
true
only if all lamps are on.
bri: Option<u8>
The average brightness of the group.
lastupdated: Option<String>
Last time the state of at least one light in the group was changed.
lastswitched: Option<String>
Last time the group was turned on or off.
Trait Implementations
impl Clone for GroupState
[src]
fn clone(&self) -> GroupState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more