pub struct JobStatus {
pub execution_count: Option<i64>,
pub failure_count: Option<i64>,
pub faulted_count: Option<i64>,
pub last_execution_time: Option<OffsetDateTime>,
pub next_execution_time: Option<OffsetDateTime>,
}
Fields
execution_count: Option<i64>
Gets the number of times this job has executed.
failure_count: Option<i64>
Gets the number of times this job has failed.
faulted_count: Option<i64>
Gets the number of faulted occurrences (occurrences that were retried and failed as many times as the retry policy states).
last_execution_time: Option<OffsetDateTime>
Gets the time the last occurrence executed in ISO-8601 format. Could be empty if job has not run yet.
next_execution_time: Option<OffsetDateTime>
Gets the time of the next occurrence in ISO-8601 format. Could be empty if the job is completed.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for JobStatus
impl<'de> Deserialize<'de> for JobStatus
sourcefn 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 JobStatus
Auto Trait Implementations
impl RefUnwindSafe for JobStatus
impl Send for JobStatus
impl Sync for JobStatus
impl Unpin for JobStatus
impl UnwindSafe for JobStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more