Struct huelib::resource::schedule::Creator [−][src]
pub struct Creator {
pub name: Option<String>,
pub description: Option<String>,
pub command: Command,
pub local_time: String,
pub status: Option<Status>,
pub auto_delete: Option<bool>,
pub recycle: Option<bool>,
}
Expand description
Struct for creating a schedule.
Fields
name: Option<String>
Sets the name of the schedule.
description: Option<String>
Sets the description of the schedule.
command: Command
Sets the command of the schedule.
local_time: 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 will be removed after it expires.
recycle: Option<bool>
Sets whether resource is automatically deleted when not referenced anymore.
Implementations
Sets the description
field of this struct.
Sets the status
field of this struct.
Sets the auto_delete
field of this struct.
Sets the recycle
field of this struct.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Creator
impl UnwindSafe for Creator
Blanket Implementations
Mutably borrows from an owned value. Read more