pub enum JobStateStatus {
Queued,
Running,
Completed,
Failed,
Cancelled,
}Expand description
Status of a background job.
Serialized as lowercase snake_case strings.
Variants§
Queued
Job is waiting to be executed.
Running
Job is currently executing.
Completed
Job has finished successfully.
Failed
Job has failed with an error.
Cancelled
Job was cancelled before completion.
Trait Implementations§
Source§impl Clone for JobStateStatus
impl Clone for JobStateStatus
Source§fn clone(&self) -> JobStateStatus
fn clone(&self) -> JobStateStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JobStateStatus
impl Debug for JobStateStatus
Source§impl<'de> Deserialize<'de> for JobStateStatus
impl<'de> Deserialize<'de> for JobStateStatus
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
impl Eq for JobStateStatus
Source§impl PartialEq for JobStateStatus
impl PartialEq for JobStateStatus
Source§fn eq(&self, other: &JobStateStatus) -> bool
fn eq(&self, other: &JobStateStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for JobStateStatus
impl Serialize for JobStateStatus
impl StructuralPartialEq for JobStateStatus
Auto Trait Implementations§
impl Freeze for JobStateStatus
impl RefUnwindSafe for JobStateStatus
impl Send for JobStateStatus
impl Sync for JobStateStatus
impl Unpin for JobStateStatus
impl UnsafeUnpin for JobStateStatus
impl UnwindSafe for JobStateStatus
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