task field order changed

This commit is contained in:
aaron-jack-manning 2022-08-23 10:12:48 +10:00
parent 8f5c23a51c
commit 0aea904fdd
2 changed files with 2 additions and 2 deletions

2
Cargo.lock generated
View File

@ -825,7 +825,7 @@ dependencies = [
[[package]] [[package]]
name = "toru" name = "toru"
version = "0.1.0" version = "0.1.1"
dependencies = [ dependencies = [
"chrono", "chrono",
"clap", "clap",

View File

@ -93,7 +93,6 @@ impl TimeEntry {
pub struct InternalTask { pub struct InternalTask {
pub id : Id, pub id : Id,
pub name : String, pub name : String,
pub info : Option<String>,
pub tags : HashSet<String>, pub tags : HashSet<String>,
pub dependencies : HashSet<Id>, pub dependencies : HashSet<Id>,
pub priority : Priority, pub priority : Priority,
@ -101,6 +100,7 @@ pub struct InternalTask {
pub created : chrono::NaiveDateTime, pub created : chrono::NaiveDateTime,
pub complete : bool, pub complete : bool,
pub discarded : bool, pub discarded : bool,
pub info : Option<String>,
pub time_entries : Vec<TimeEntry>, pub time_entries : Vec<TimeEntry>,
} }