pub struct JobStatusUpdate {
pub manual: Option<bool>,
pub status: String,
pub extra: Map<String, Value>,
}Expand description
Assigns a stored job status and emits the status-change event. It does not enqueue, interrupt or restart a worker.
Fields§
§manual: Option<bool>Marks the status change as manual.
status: StringStored background-job status. The status-update endpoint accepts all values; the list filter accepts only IN_PROGRESS, DONE, and ERROR.
Allowed values: CANCELED, DONE, ERROR, IN_PROGRESS, QUEUED.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for JobStatusUpdate
impl Clone for JobStatusUpdate
Source§impl Debug for JobStatusUpdate
impl Debug for JobStatusUpdate
Source§impl Default for JobStatusUpdate
impl Default for JobStatusUpdate
Source§impl<'de> Deserialize<'de> for JobStatusUpdate
impl<'de> Deserialize<'de> for JobStatusUpdate
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
Source§impl PartialEq for JobStatusUpdate
impl PartialEq for JobStatusUpdate
Source§impl Serialize for JobStatusUpdate
impl Serialize for JobStatusUpdate
impl StructuralPartialEq for JobStatusUpdate
Auto Trait Implementations§
impl Freeze for JobStatusUpdate
impl RefUnwindSafe for JobStatusUpdate
impl Send for JobStatusUpdate
impl Sync for JobStatusUpdate
impl Unpin for JobStatusUpdate
impl UnsafeUnpin for JobStatusUpdate
impl UnwindSafe for JobStatusUpdate
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