pub struct ScheduleSpec {
pub name: String,
pub bot_id: String,
pub prompt: String,
pub cron: String,
pub run_at: Option<String>,
pub time_zone: String,
}Expand description
A recurring (cron) or one-off (run_at, ISO-8601) job.
Fields§
§name: String§bot_id: String§prompt: String§cron: String§run_at: Option<String>§time_zone: StringImplementations§
Trait Implementations§
Source§impl Clone for ScheduleSpec
impl Clone for ScheduleSpec
Source§impl Debug for ScheduleSpec
impl Debug for ScheduleSpec
Auto Trait Implementations§
impl Freeze for ScheduleSpec
impl RefUnwindSafe for ScheduleSpec
impl Send for ScheduleSpec
impl Sync for ScheduleSpec
impl Unpin for ScheduleSpec
impl UnsafeUnpin for ScheduleSpec
impl UnwindSafe for ScheduleSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more