Skip to main content

nhl_stats/models/
stat_types.rs

1/*
2 * NHL API
3 *
4 * Documenting the publicly accessible portions of the NHL API.
5 *
6 * The version of the OpenAPI document: 1.0.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13#[derive(Debug, PartialEq, Serialize, Deserialize)]
14#[serde(transparent)]
15pub struct StatTypes {
16    #[serde(rename = "records", skip_serializing_if = "Option::is_none", flatten)]
17    pub records: Option<Vec<crate::models::StatType>>,
18}
19
20impl StatTypes {
21    pub fn new() -> StatTypes {
22        StatTypes {
23            records: None,
24        }
25    }
26}
27
28