pub enum JobState {
Pending,
Scheduled,
Assigned,
Running,
Passed,
Failed,
Skipped,
Canceling,
Canceled,
TimingOut,
TimedOut,
}Expand description
The job’s FSM state.
JSON schema
{
"description": "The job's FSM state.",
"type": "string",
"enum": [
"pending",
"scheduled",
"assigned",
"running",
"passed",
"failed",
"skipped",
"canceling",
"canceled",
"timing_out",
"timed_out"
]
}Variants§
Trait Implementations§
impl Copy for JobState
Source§impl<'de> Deserialize<'de> for JobState
impl<'de> Deserialize<'de> for JobState
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<JobState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<JobState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for JobState
Source§impl Ord for JobState
impl Ord for JobState
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for JobState
impl PartialOrd for JobState
Source§impl Serialize for JobState
impl Serialize for JobState
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for JobState
Auto Trait Implementations§
impl Freeze for JobState
impl RefUnwindSafe for JobState
impl Send for JobState
impl Sync for JobState
impl Unpin for JobState
impl UnsafeUnpin for JobState
impl UnwindSafe for JobState
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