vrchatapi 1.20.7

VRChat API Client for Rust
Documentation
/*
 * VRChat API Documentation
 *
 *
 * Contact: vrchatapi.lpv0t@aries.fyi
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct InventorySpawn {
    #[serde(rename = "token")]
    pub token: String,
    #[serde(rename = "version")]
    pub version: i32,
}

impl InventorySpawn {
    pub fn new(token: String, version: i32) -> InventorySpawn {
        InventorySpawn { token, version }
    }
}