pub struct JobStartedEvent {
pub job_id: String,
pub trace_id: Option<String>,
pub worker_id: Option<String>,
pub attempt_count: Option<u32>,
pub status: Option<String>,
pub trace_ctx: Option<TraceCtx>,
pub attempt_id: Option<AttemptId>,
pub trial_id: Option<TrialId>,
}Expand description
Emitted when a job starts executing.
Fields§
§job_id: String§trace_id: Option<String>👎Deprecated:
Use trace_ctx instead. Will be removed when all consumers migrate.
Deprecated — Phase status: compatibility / migration-only.
Use trace_ctx instead.
Removal condition: removed when all event consumers migrate to TraceCtx.
worker_id: Option<String>§attempt_count: Option<u32>👎Deprecated:
Use attempt_id/trial_id instead. Will be removed when all consumers migrate.
Deprecated — Phase status: compatibility / migration-only.
Use attempt_id / trial_id instead.
Removal condition: removed when all event consumers migrate to AttemptId/TrialId.
status: Option<String>§trace_ctx: Option<TraceCtx>Canonical trace context (replaces trace_id).
attempt_id: Option<AttemptId>Canonical attempt identity — one per re-enqueue.
trial_id: Option<TrialId>Canonical trial identity — one per concrete execution.
Trait Implementations§
Source§impl Clone for JobStartedEvent
impl Clone for JobStartedEvent
Source§fn clone(&self) -> JobStartedEvent
fn clone(&self) -> JobStartedEvent
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 JobStartedEvent
impl Debug for JobStartedEvent
Source§impl<'de> Deserialize<'de> for JobStartedEvent
impl<'de> Deserialize<'de> for JobStartedEvent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<JobStartedEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<JobStartedEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for JobStartedEvent
impl Serialize for JobStartedEvent
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
Auto Trait Implementations§
impl Freeze for JobStartedEvent
impl RefUnwindSafe for JobStartedEvent
impl Send for JobStartedEvent
impl Sync for JobStartedEvent
impl Unpin for JobStartedEvent
impl UnsafeUnpin for JobStartedEvent
impl UnwindSafe for JobStartedEvent
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