Skip to main content

nhl_stats/models/
stat_type.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)]
14pub struct StatType {
15    #[serde(rename = "displayName", skip_serializing_if = "Option::is_none")]
16    pub display_name: Option<crate::models::EnumStatTypes>,
17}
18
19impl StatType {
20    pub fn new() -> StatType {
21        StatType {
22            display_name: None,
23        }
24    }
25}
26
27