Struct huelib::resource::schedule::Modifier [−][src]
pub struct Modifier {
pub name: Option<String>,
pub description: Option<String>,
pub command: Option<Command>,
pub local_time: Option<String>,
pub status: Option<Status>,
pub auto_delete: Option<bool>,
}
Expand description
Struct for modifying attributes of a schedule.
Fields
name: Option<String>
Sets the name of the schedule.
description: Option<String>
Sets the description of the schedule.
command: Option<Command>
Sets the command of the schedule.
local_time: Option<String>
Sets the local time of the schedule.
status: Option<Status>
Sets the status of the schedule.
auto_delete: Option<bool>
Sets whether the schedule is removed after it expires.
Implementations
Sets the description
field of this struct.
Sets the command
field of this struct.
Sets the local_time
field of this struct.
Sets the status
field of this struct.
Sets the auto_delete
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