aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/budget_detail.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/models/budget_detail.rs')
-rw-r--r--src/models/budget_detail.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/models/budget_detail.rs b/src/models/budget_detail.rs
index b14f4b0..2ab61ac 100644
--- a/src/models/budget_detail.rs
+++ b/src/models/budget_detail.rs
@@ -10,6 +10,7 @@
+
#[derive(Debug, PartialEq, Serialize, Deserialize)]
pub struct BudgetDetail {
#[serde(rename = "id")]
@@ -54,8 +55,8 @@ pub struct BudgetDetail {
impl BudgetDetail {
pub fn new(id: String, name: String) -> BudgetDetail {
BudgetDetail {
- id: id,
- name: name,
+ id,
+ name,
last_modified_on: None,
first_month: None,
last_month: None,