pub struct Task {
pub id: Option<i32>,
pub chain_id: Option<i32>,
pub created_at: Option<String>,
pub name: String,
pub comment: String,
pub completeness: i32,
pub tags: Vec<String>,
pub jira_key: Option<String>,
}Expand description
One task, as every listing of tasks prints it.
Fields§
§id: Option<i32>§chain_id: Option<i32>The first task of the chain this one continues across days (the table’s
TASK ID); the task’s own id when it starts one.
created_at: Option<String>When the row was written, local time.
name: String§comment: String§completeness: i32Progress from 0 to 100; a task with none recorded counts as done, as the table shows it.
jira_key: Option<String>The Jira issue the task was taken from.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Task
impl RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnsafeUnpin for Task
impl UnwindSafe for Task
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