pub struct TimelineTask {
pub key: String,
pub start: u64,
pub end: Option<u64>,
pub status: Status,
}Expand description
One task’s execution window, for the timeline view.
Fields§
§key: String§start: u64Epoch ms; 0 when the task hasn’t started.
end: Option<u64>None while the task is still executing.
status: StatusAuto Trait Implementations§
impl Freeze for TimelineTask
impl RefUnwindSafe for TimelineTask
impl Send for TimelineTask
impl Sync for TimelineTask
impl Unpin for TimelineTask
impl UnsafeUnpin for TimelineTask
impl UnwindSafe for TimelineTask
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> 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