pub struct GridTask {
pub key: String,
pub cells: Vec<Option<Status>>,
pub durations: Vec<Option<u64>>,
}Expand description
One task row of the history grid, index-aligned with GridData::runs:
the task’s state and execution duration in each run, None where the
task didn’t exist yet (or timing wasn’t recorded).
Fields§
§key: String§cells: Vec<Option<Status>>§durations: Vec<Option<u64>>Implementations§
Auto Trait Implementations§
impl Freeze for GridTask
impl RefUnwindSafe for GridTask
impl Send for GridTask
impl Sync for GridTask
impl Unpin for GridTask
impl UnsafeUnpin for GridTask
impl UnwindSafe for GridTask
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