Continue parsing the pest output

This commit is contained in:
Joscha 2021-11-18 23:46:41 +01:00
parent 6e53446a08
commit 90f74c82bc
3 changed files with 216 additions and 15 deletions

View file

@ -209,6 +209,9 @@ pub struct Done {
pub struct Task {
pub title: String,
pub when: Vec<Spec>,
pub from: Option<NaiveDate>,
pub until: Option<NaiveDate>,
pub except: Vec<NaiveDate>,
pub done: Vec<Done>,
pub desc: Option<String>,
}
@ -217,6 +220,9 @@ pub struct Task {
pub struct Note {
pub title: String,
pub when: Vec<Spec>, // Should not be empty?
pub from: Option<NaiveDate>,
pub until: Option<NaiveDate>,
pub except: Vec<NaiveDate>,
pub desc: Option<String>,
}