pub struct ScheduledJob {
pub job_id: String,
pub name: String,
pub job_type: String,
pub schedule: String,
pub enabled: Option<bool>,
pub last_run: Option<String>,
pub next_run: Option<String>,
pub params: Option<Value>,
pub extra: Value,
}
Expand description
Scheduled job information
Fields§
§job_id: String
Unique identifier for the scheduled job
name: String
Human-readable name for the job
job_type: String
Type of job (backup, cleanup, rotation, etc.)
schedule: String
Cron-style schedule expression for when the job runs
enabled: Option<bool>
Whether the scheduled job is currently enabled
last_run: Option<String>
Timestamp of the last job execution (ISO 8601 format)
next_run: Option<String>
Timestamp of the next scheduled job execution (ISO 8601 format)
params: Option<Value>
Job-specific parameters and configuration
extra: Value
Trait Implementations§
Source§impl Clone for ScheduledJob
impl Clone for ScheduledJob
Source§fn clone(&self) -> ScheduledJob
fn clone(&self) -> ScheduledJob
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ScheduledJob
impl Debug for ScheduledJob
Source§impl<'de> Deserialize<'de> for ScheduledJob
impl<'de> Deserialize<'de> for ScheduledJob
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 ScheduledJob
impl RefUnwindSafe for ScheduledJob
impl Send for ScheduledJob
impl Sync for ScheduledJob
impl Unpin for ScheduledJob
impl UnwindSafe for ScheduledJob
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