diff options
Diffstat (limited to 'src/models/budget_settings.rs')
-rw-r--r-- | src/models/budget_settings.rs | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/models/budget_settings.rs b/src/models/budget_settings.rs index 25985b5..adb2d78 100644 --- a/src/models/budget_settings.rs +++ b/src/models/budget_settings.rs @@ -9,20 +9,17 @@ */ -#[allow(unused_imports)] -use serde_json::Value; - -#[derive(Debug, Serialize, Deserialize)] +#[derive(Debug, PartialEq, Serialize, Deserialize)] pub struct BudgetSettings { #[serde(rename = "date_format")] - pub date_format: ::models::DateFormat, + pub date_format: crate::models::DateFormat, #[serde(rename = "currency_format")] - pub currency_format: ::models::CurrencyFormat, + pub currency_format: crate::models::CurrencyFormat, } impl BudgetSettings { - pub fn new(date_format: ::models::DateFormat, currency_format: ::models::CurrencyFormat) -> BudgetSettings { + pub fn new(date_format: crate::models::DateFormat, currency_format: crate::models::CurrencyFormat) -> BudgetSettings { BudgetSettings { date_format: date_format, currency_format: currency_format, |