puddle_farm_api_client_openapi_client/models/
matchup_response.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct MatchupResponse {
16 #[serde(rename = "last_update", skip_serializing_if = "Option::is_none")]
17 pub last_update: Option<String>,
18 #[serde(rename = "data_all", skip_serializing_if = "Option::is_none")]
19 pub data_all: Option<Vec<models::MatchupCharResponse>>,
20 #[serde(rename = "data_1700", skip_serializing_if = "Option::is_none")]
21 pub data_1700: Option<Vec<models::MatchupCharResponse>>,
22}
23
24impl MatchupResponse {
25 pub fn new() -> MatchupResponse {
26 MatchupResponse {
27 last_update: None,
28 data_all: None,
29 data_1700: None,
30 }
31 }
32}
33