chesscom_openapi/models/inline_response_200_1.rs
1/*
2 * Chess
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 1.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct InlineResponse2001 {
16 /// Array of Daily Chess games that a player is currently playing
17 #[serde(rename = "games")]
18 pub games: Vec<crate::models::DailyGame>,
19}
20
21impl InlineResponse2001 {
22 pub fn new(games: Vec<crate::models::DailyGame>) -> InlineResponse2001 {
23 InlineResponse2001 {
24 games,
25 }
26 }
27}
28
29