pub struct WorkRunStatus {
pub id: WorkId,
pub state: WorkRunState,
pub started_at_millis: u64,
pub finished_at_millis: Option<u64>,
pub error: Option<PromiseRejection>,
pub cancel_reason: Option<Value>,
pub parent_id: Option<WorkId>,
pub child_count: usize,
pub deadline_remaining_millis: Option<u64>,
pub detached: bool,
}Expand description
Non-blocking status snapshot for a live work run.
Fields§
§id: WorkId§state: WorkRunState§started_at_millis: u64§finished_at_millis: Option<u64>§error: Option<PromiseRejection>§cancel_reason: Option<Value>§parent_id: Option<WorkId>§child_count: usize§deadline_remaining_millis: Option<u64>§detached: boolTrait Implementations§
Source§impl Clone for WorkRunStatus
impl Clone for WorkRunStatus
Source§fn clone(&self) -> WorkRunStatus
fn clone(&self) -> WorkRunStatus
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 WorkRunStatus
impl Debug for WorkRunStatus
Source§impl PartialEq for WorkRunStatus
impl PartialEq for WorkRunStatus
impl StructuralPartialEq for WorkRunStatus
Auto Trait Implementations§
impl !RefUnwindSafe for WorkRunStatus
impl !Send for WorkRunStatus
impl !Sync for WorkRunStatus
impl !UnwindSafe for WorkRunStatus
impl Freeze for WorkRunStatus
impl Unpin for WorkRunStatus
impl UnsafeUnpin for WorkRunStatus
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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