pub struct ScheduleEntry {
pub name: String,
pub select: Option<String>,
pub report: Option<String>,
pub set: Option<String>,
pub schedule: Map<String, Value>,
pub timing: Option<String>,
pub enabled: bool,
pub vars: Map<String, Value>,
pub timezone: Option<String>,
pub location: (PathBuf, Option<usize>),
}Fields§
§name: String§select: Option<String>§report: Option<String>§set: Option<String>§schedule: Map<String, Value>The resolved timing: cron/every/rrule, starting, at, except, also.
timing: Option<String>The timings.yml entry the timing comes from, when it’s a shared one.
enabled: boolenabled: false pauses the schedule: it keeps its name but never fires.
vars: Map<String, Value>Layered into var() when run with --schedule <name>, above the Binding’s own vars.
timezone: Option<String>The run’s timezone under --schedule <name>, above the report’s.
location: (PathBuf, Option<usize>)Line in its schedules.yml, for messages.
Trait Implementations§
Source§impl Clone for ScheduleEntry
impl Clone for ScheduleEntry
Source§impl Debug for ScheduleEntry
impl Debug for ScheduleEntry
Auto Trait Implementations§
impl Freeze for ScheduleEntry
impl RefUnwindSafe for ScheduleEntry
impl Send for ScheduleEntry
impl Sync for ScheduleEntry
impl Unpin for ScheduleEntry
impl UnsafeUnpin for ScheduleEntry
impl UnwindSafe for ScheduleEntry
Blanket Implementations§
impl<T> Allocation for T
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