nhl_stats/models/game_meta_data.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 GameMetaData {
15 #[serde(rename = "wait", skip_serializing_if = "Option::is_none")]
16 pub wait: Option<f32>,
17 #[serde(rename = "timeStamp", skip_serializing_if = "Option::is_none")]
18 pub time_stamp: Option<String>,
19}
20
21impl GameMetaData {
22 pub fn new() -> GameMetaData {
23 GameMetaData {
24 wait: None,
25 time_stamp: None,
26 }
27 }
28}
29
30