aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/month_summaries_response_data.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/models/month_summaries_response_data.rs')
-rw-r--r--src/models/month_summaries_response_data.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/models/month_summaries_response_data.rs b/src/models/month_summaries_response_data.rs
index 03ed9d5..4d32a69 100644
--- a/src/models/month_summaries_response_data.rs
+++ b/src/models/month_summaries_response_data.rs
@@ -10,6 +10,7 @@
+
#[derive(Debug, PartialEq, Serialize, Deserialize)]
pub struct MonthSummariesResponseData {
#[serde(rename = "months")]
@@ -22,8 +23,8 @@ pub struct MonthSummariesResponseData {
impl MonthSummariesResponseData {
pub fn new(months: Vec<crate::models::MonthSummary>, server_knowledge: i64) -> MonthSummariesResponseData {
MonthSummariesResponseData {
- months: months,
- server_knowledge: server_knowledge,
+ months,
+ server_knowledge,
}
}
}