aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/month_detail_response_data.rs
diff options
context:
space:
mode:
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,
}