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    /// This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity version such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`.
17    #[serde(rename = "platform", skip_serializing_if = "Option::is_none")]
18    pub platform: Option<String>,
19    #[serde(rename = "recorded", skip_serializing_if = "Option::is_none")]
20    pub recorded: Option<String>,
21}
22
23impl CurrentUserPlatformHistoryInner {
24    pub fn new() -> CurrentUserPlatformHistoryInner {
25        CurrentUserPlatformHistoryInner {
26            is_mobile: None,
27            platform: None,
28            recorded: None,
29        }
30    }
31}