Parse and format logs
This commit is contained in:
parent
0e4ef7fef3
commit
017098da34
4 changed files with 47 additions and 3 deletions
|
|
@ -337,6 +337,12 @@ pub struct Note {
|
|||
pub desc: Vec<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Log {
|
||||
pub date: NaiveDate,
|
||||
pub desc: Vec<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum Command {
|
||||
Task(Task),
|
||||
|
|
@ -371,5 +377,6 @@ pub struct File {
|
|||
pub contents: String,
|
||||
pub includes: Vec<String>,
|
||||
pub timezone: Option<String>,
|
||||
pub logs: Vec<Log>,
|
||||
pub commands: Vec<Command>,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue