diff options
Diffstat (limited to 'src/models/month_detail_response_data.rs')
-rw-r--r-- | src/models/month_detail_response_data.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/models/month_detail_response_data.rs b/src/models/month_detail_response_data.rs index 3a60eb5..703648d 100644 --- a/src/models/month_detail_response_data.rs +++ b/src/models/month_detail_response_data.rs @@ -10,6 +10,7 @@ + #[derive(Debug, PartialEq, Serialize, Deserialize)] pub struct MonthDetailResponseData { #[serde(rename = "month")] @@ -19,7 +20,7 @@ pub struct MonthDetailResponseData { impl MonthDetailResponseData { pub fn new(month: crate::models::MonthDetail) -> MonthDetailResponseData { MonthDetailResponseData { - month: month, + month, } } } |