pub struct Timing {
pub schedule: Map<String, Value>,
pub timezone: Option<String>,
pub location: (PathBuf, Option<usize>),
}Expand description
A timings.yml entry: a timing any schedule can use by name.
Fields§
§schedule: Map<String, Value>cron/every/rrule, starting, at, except, also.
timezone: Option<String>§location: (PathBuf, Option<usize>)Line in its timings.yml, for messages.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Timing
impl RefUnwindSafe for Timing
impl Send for Timing
impl Sync for Timing
impl Unpin for Timing
impl UnsafeUnpin for Timing
impl UnwindSafe for Timing
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