#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum JobState {
New,
Starting,
Running,
Suspended,
Interrupted,
Pending,
Stopping,
Completed,
Cancelled,
Exception,
Service,
UserIntervention,
Continue,
}
#[allow(clippy::derivable_impls)]
impl Default for JobState {
fn default() -> JobState {
JobState::New
}
}
impl crate::Metadata<'static> for JobState {
const JSON_SCHEMA: &'static str = "Job.v1_2_0.json";
}