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