diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-09-14 14:19:01 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-09-14 14:39:29 -0400 |
commit | 4c94e5f9101c14bfc5c6989d11ea6c855c809f0b (patch) | |
tree | 4e4e7ba93d41eda4c8a4c5346c3e02fc88d8789d /src/models/budget_summary.rs | |
parent | a43423c5f36f8ff6642c9f6ad85800ab38758395 (diff) | |
download | ynab-api-4c94e5f9101c14bfc5c6989d11ea6c855c809f0b.tar.gz ynab-api-4c94e5f9101c14bfc5c6989d11ea6c855c809f0b.zip |
update openapi spec2.0.0
Diffstat (limited to 'src/models/budget_summary.rs')
-rw-r--r-- | src/models/budget_summary.rs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/models/budget_summary.rs b/src/models/budget_summary.rs index b380593..742fcdf 100644 --- a/src/models/budget_summary.rs +++ b/src/models/budget_summary.rs @@ -9,11 +9,8 @@ */ -#[allow(unused_imports)] -use serde_json::Value; - -#[derive(Debug, Serialize, Deserialize)] +#[derive(Debug, PartialEq, Serialize, Deserialize)] pub struct BudgetSummary { #[serde(rename = "id")] pub id: String, @@ -29,9 +26,9 @@ pub struct BudgetSummary { #[serde(rename = "last_month", skip_serializing_if = "Option::is_none")] pub last_month: Option<String>, #[serde(rename = "date_format", skip_serializing_if = "Option::is_none")] - pub date_format: Option<::models::DateFormat>, + pub date_format: Option<crate::models::DateFormat>, #[serde(rename = "currency_format", skip_serializing_if = "Option::is_none")] - pub currency_format: Option<::models::CurrencyFormat>, + pub currency_format: Option<crate::models::CurrencyFormat>, } impl BudgetSummary { |