nhl_stats/models/
game_boxscore_team_players.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 GameBoxscoreTeamPlayers {
15    #[serde(rename = "person", skip_serializing_if = "Option::is_none")]
16    pub person: Option<crate::models::GameBoxscoreTeamPlayersPerson>,
17    #[serde(rename = "jerseyNumber", skip_serializing_if = "Option::is_none")]
18    pub jersey_number: Option<String>,
19    #[serde(rename = "position", skip_serializing_if = "Option::is_none")]
20    pub position: Option<crate::models::GameBoxscoreTeamPlayersPosition>,
21    #[serde(rename = "stats", skip_serializing_if = "Option::is_none")]
22    pub stats: Option<crate::models::GameBoxscoreTeamPlayersStats>,
23}
24
25impl GameBoxscoreTeamPlayers {
26    pub fn new() -> GameBoxscoreTeamPlayers {
27        GameBoxscoreTeamPlayers {
28            person: None,
29            jersey_number: None,
30            position: None,
31            stats: None,
32        }
33    }
34}
35
36