aboutsummaryrefslogtreecommitdiff
path: root/budget/src
diff options
context:
space:
mode:
Diffstat (limited to 'budget/src')
-rw-r--r--budget/src/lib.rs1
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>,
}