pub struct JobEntry {
pub id: i64,
pub job_type: String,
pub status: String,
pub priority: i64,
pub attempts: i64,
pub last_error: Option<String>,
pub lease_owner: Option<String>,
pub lease_expires_at: Option<String>,
pub created_at: String,
pub updated_at: String,
}Expand description
A single job entry returned by the observability endpoints.
Fields§
§id: i64§job_type: String§status: String§priority: i64§attempts: i64§last_error: Option<String>§lease_owner: Option<String>§lease_expires_at: Option<String>§created_at: String§updated_at: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for JobEntry
impl<'de> Deserialize<'de> for JobEntry
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 From<MemoryJobRow> for JobEntry
impl From<MemoryJobRow> for JobEntry
Source§fn from(row: MemoryJobRow) -> Self
fn from(row: MemoryJobRow) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JobEntry
impl RefUnwindSafe for JobEntry
impl Send for JobEntry
impl Sync for JobEntry
impl Unpin for JobEntry
impl UnsafeUnpin for JobEntry
impl UnwindSafe for JobEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more