diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-10-06 00:18:37 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-10-06 00:20:03 +0300 |
commit | cc688c4dc73d3b13be5aba1bd292cc31265c5d04 (patch) | |
tree | 66a46e038ea2392600deba03f040b60a8fe7a565 /budget/src | |
parent | 408b0ac993496b108ec1e479151d549e9535051a (diff) | |
download | finbudg-cc688c4dc73d3b13be5aba1bd292cc31265c5d04.tar.gz finbudg-cc688c4dc73d3b13be5aba1bd292cc31265c5d04.zip |
Allow days with no expensesv0.1.1
Also fix "spelling" mistake in output ("..." instead of "..").
Diffstat (limited to 'budget/src')
-rw-r--r-- | budget/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/budget/src/lib.rs b/budget/src/lib.rs index 4dab46a..e8bb8f3 100644 --- a/budget/src/lib.rs +++ b/budget/src/lib.rs @@ -22,6 +22,7 @@ pub struct Account { pub struct Day { #[serde(deserialize_with = "deserialize_date")] pub date: NaiveDate, + #[serde(default)] pub expenses: Vec<Expense>, } |