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