pub struct TaskRow {
pub task_id: String,
pub title: String,
pub status: String,
pub last_event_at: String,
pub event_count: usize,
}Expand description
One row of the task list rendered by the TUI: enough to render the
list view without round-tripping for each task. event_count joins
events_index so we don’t need a second query per row.
Fields§
§task_id: String§title: String§status: String§last_event_at: String§event_count: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for TaskRow
impl RefUnwindSafe for TaskRow
impl Send for TaskRow
impl Sync for TaskRow
impl Unpin for TaskRow
impl UnsafeUnpin for TaskRow
impl UnwindSafe for TaskRow
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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