vrchatapi 1.20.8-nightly.15

VRChat API Client for Rust
Documentation
use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CurrentUserPlatformHistoryInner {
    #[serde(rename = "isMobile", skip_serializing_if = "Option::is_none")]
    pub is_mobile: Option<bool>,
    /// 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`.
    #[serde(rename = "platform", skip_serializing_if = "Option::is_none")]
    pub platform: Option<String>,
    #[serde(rename = "recorded", skip_serializing_if = "Option::is_none")]
    pub recorded: Option<String>,
}

impl CurrentUserPlatformHistoryInner {
    pub fn new() -> CurrentUserPlatformHistoryInner {
        CurrentUserPlatformHistoryInner {
            is_mobile: None,
            platform: None,
            recorded: None,
        }
    }
}