Struct huelib::resource::rule::Modifier [−][src]
pub struct Modifier {
pub name: Option<String>,
pub status: Option<Status>,
pub conditions: Option<Vec<Condition>>,
pub actions: Option<Vec<Action>>,
}
Expand description
Struct for modifying a rule.
Fields
name: Option<String>
Sets the name of the modifier.
status: Option<Status>
Sets the status of the rule.
conditions: Option<Vec<Condition>>
Sets the conditions of the rule.
actions: Option<Vec<Action>>
Sets the actions of the rule.
Implementations
Sets the status
field of this struct.
Sets the conditions
field of this struct.
Sets the actions
field of this struct.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Modifier
impl UnwindSafe for Modifier
Blanket Implementations
Mutably borrows from an owned value. Read more