vrchatapi/models/
current_user_platform_history_inner.rs

1/*
2 * VRChat API Documentation
3 *
4 *
5 * Contact: vrchatapi.lpv0t@aries.fyi
6 * Generated by: https://openapi-generator.tech
7 */
8
9use crate::models;
10use serde::{Deserialize, Serialize};
11
12#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
13pub struct CurrentUserPlatformHistoryInner {
14    #[serde(rename = "isMobile", skip_serializing_if = "Option::is_none")]
15    pub is_mobile: Option<bool>,
16    #[serde(
17        rename = "platform",
18        default,
19        with = "::serde_with::rust::double_option",
20        skip_serializing_if = "Option::is_none"
21    )]
22    pub platform: Option<Option<String>>,
23    #[serde(rename = "recorded", skip_serializing_if = "Option::is_none")]
24    pub recorded: Option<String>,
25}
26
27impl CurrentUserPlatformHistoryInner {
28    pub fn new() -> CurrentUserPlatformHistoryInner {
29        CurrentUserPlatformHistoryInner {
30            is_mobile: None,
31            platform: None,
32            recorded: None,
33        }
34    }
35}