Struct huelib::resource::sensor::StateModifier [−][src]
Expand description
Modifier for the sensor state.
Fields
presence: Option<bool>
Sets the presence of the sensor.
Implementations
Sets the presence
field of this struct.
Creates a new StateModifier
.
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 StateModifier
impl Send for StateModifier
impl Sync for StateModifier
impl Unpin for StateModifier
impl UnwindSafe for StateModifier
Blanket Implementations
Mutably borrows from an owned value. Read more