pub struct Job {
pub created_date: Option<DateTime<Utc>>,
pub domain_id: Option<i64>,
pub domain_type: Option<String>,
pub identifier: String,
pub is_dry_run: bool,
pub modified_date: Option<DateTime<Utc>>,
pub name: String,
pub status: String,
pub extra: Map<String, Value>,
}Expand description
Persisted background-job summary. The identifier is a string generated when scheduling, not an integer database ID. Execution arguments and log entries are not included.
Fields§
§created_date: Option<DateTime<Utc>>Scheduling timestamp.
domain_id: Option<i64>ID of the associated business object.
domain_type: Option<String>Kind of business object associated with the job.
identifier: StringOpaque identifier returned when the job was scheduled.
is_dry_run: boolWhether the job was scheduled as a dry run.
modified_date: Option<DateTime<Utc>>Last status-update timestamp.
name: StringRegistered worker job name; an extensible key, not localized display text.
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<'de> Deserialize<'de> for Job
impl<'de> Deserialize<'de> for Job
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 StructuralPartialEq for Job
Auto Trait Implementations§
impl Freeze for Job
impl RefUnwindSafe for Job
impl Send for Job
impl Sync for Job
impl Unpin for Job
impl UnsafeUnpin for Job
impl UnwindSafe for Job
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