pub struct Schedule {
pub id: String,
pub cron: String,
pub manifest: Manifest,
pub enabled: bool,
}Expand description
Periodic schedule (spec §2.4.3). The full job Manifest is embedded
so the scheduler can deploy it without a separate Git lookup; once a
dedicated job-catalog API lands, manifest can become a job_id
reference instead.
Fields§
§id: String§cron: String6-field cron expression (sec min hour day month day-of-week),
matching tokio-cron-scheduler syntax.
manifest: Manifest§enabled: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Schedule
impl<'de> Deserialize<'de> for Schedule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Schedule
impl RefUnwindSafe for Schedule
impl Send for Schedule
impl Sync for Schedule
impl Unpin for Schedule
impl UnsafeUnpin for Schedule
impl UnwindSafe for Schedule
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