aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/month_detail_response_data.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-09-14 14:19:01 -0400
committerJesse Luehrs <doy@tozt.net>2019-09-14 14:39:29 -0400
commit4c94e5f9101c14bfc5c6989d11ea6c855c809f0b (patch)
tree4e4e7ba93d41eda4c8a4c5346c3e02fc88d8789d /src/models/month_detail_response_data.rs
parenta43423c5f36f8ff6642c9f6ad85800ab38758395 (diff)
downloadynab-api-4c94e5f9101c14bfc5c6989d11ea6c855c809f0b.tar.gz
ynab-api-4c94e5f9101c14bfc5c6989d11ea6c855c809f0b.zip
update openapi spec2.0.0
Diffstat (limited to 'src/models/month_detail_response_data.rs')
-rw-r--r--src/models/month_detail_response_data.rs9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/models/month_detail_response_data.rs b/src/models/month_detail_response_data.rs
index 0948763..3a60eb5 100644
--- a/src/models/month_detail_response_data.rs
+++ b/src/models/month_detail_response_data.rs
@@ -9,18 +9,15 @@
*/
-#[allow(unused_imports)]
-use serde_json::Value;
-
-#[derive(Debug, Serialize, Deserialize)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
pub struct MonthDetailResponseData {
#[serde(rename = "month")]
- pub month: ::models::MonthDetail,
+ pub month: crate::models::MonthDetail,
}
impl MonthDetailResponseData {
- pub fn new(month: ::models::MonthDetail) -> MonthDetailResponseData {
+ pub fn new(month: crate::models::MonthDetail) -> MonthDetailResponseData {
MonthDetailResponseData {
month: month,
}