pub struct JobResponse {
pub status: JobStatus,
pub output: Value,
}Expand description
Outcome of a single job handler invocation.
Fields§
§status: JobStatusTerminal status — drives the runtime’s journaling decision.
output: ValueFree-form output written back to the journal alongside the status. Available to callers that poll on the request id.
Trait Implementations§
Source§impl Clone for JobResponse
impl Clone for JobResponse
Source§fn clone(&self) -> JobResponse
fn clone(&self) -> JobResponse
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 moreAuto Trait Implementations§
impl Freeze for JobResponse
impl RefUnwindSafe for JobResponse
impl Send for JobResponse
impl Sync for JobResponse
impl Unpin for JobResponse
impl UnsafeUnpin for JobResponse
impl UnwindSafe for JobResponse
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