pub struct JobStatusResponse {
pub job_id: Uuid,
pub status: String,
pub result: Option<Value>,
pub error: Option<String>,
pub queued_at: DateTime<Utc>,
pub attempts: u32,
}Expand description
Job status response (for polling after execute)
Fields§
§job_id: Uuid§status: String§result: Option<Value>§error: Option<String>§queued_at: DateTime<Utc>§attempts: u32Trait Implementations§
Source§impl ComposeSchema for JobStatusResponse
impl ComposeSchema for JobStatusResponse
Source§impl Debug for JobStatusResponse
impl Debug for JobStatusResponse
Source§impl Serialize for JobStatusResponse
impl Serialize for JobStatusResponse
Auto Trait Implementations§
impl Freeze for JobStatusResponse
impl RefUnwindSafe for JobStatusResponse
impl Send for JobStatusResponse
impl Sync for JobStatusResponse
impl Unpin for JobStatusResponse
impl UnwindSafe for JobStatusResponse
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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