Enum huelib::resource::rule::ConditionOperator [−][src]
pub enum ConditionOperator {
LessThan,
GreaterThan,
Equals,
Dx,
Ddx,
Stable,
NotStable,
In,
NotIn,
}
Expand description
Condition operator of a rule.
Variants
Less than an int value.
Greater than an int value.
Equals an int or bool value.
Triggers when value of button event is changed or change of presence is detected.
Triggers when value of button event is changed or change of presence is detected.
An attribute has changed for a given time.
An attribute has not changed for a given time.
Current time is in given time interval.
Current time is not in given time interval.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ConditionOperator
impl Send for ConditionOperator
impl Sync for ConditionOperator
impl Unpin for ConditionOperator
impl UnwindSafe for ConditionOperator
Blanket Implementations
Mutably borrows from an owned value. Read more