Struct huelib::resource::group::AttributeModifier [−][src]
pub struct AttributeModifier {
pub name: Option<String>,
pub lights: Option<Vec<String>>,
pub sensors: Option<Vec<String>>,
pub class: Option<Class>,
}
Expand description
Struct for modifying group attributes.
Fields
name: Option<String>
Sets the name of the group.
lights: Option<Vec<String>>
Sets the identifiers of the lights of the group.
sensors: Option<Vec<String>>
Sets the identifiers of the sensors of the group.
class: Option<Class>
Sets the class of the group.
Implementations
Creates a new AttributeModifier
.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AttributeModifier
impl Send for AttributeModifier
impl Sync for AttributeModifier
impl Unpin for AttributeModifier
impl UnwindSafe for AttributeModifier
Blanket Implementations
Mutably borrows from an owned value. Read more