Allow tasks to be canceled
This commit is contained in:
parent
e0cb1c8f23
commit
0e4ef7fef3
13 changed files with 107 additions and 14 deletions
|
|
@ -309,8 +309,15 @@ impl DoneDate {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum DoneKind {
|
||||
Done,
|
||||
Canceled,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Done {
|
||||
pub kind: DoneKind,
|
||||
pub date: Option<DoneDate>,
|
||||
pub done_at: NaiveDate,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue