vrchatapi 1.20.8-nightly.11

VRChat API Client for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::models;
use serde::{Deserialize, Serialize};

/// PerformanceLimiterInfo : Info about the performance limits on a platform
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct PerformanceLimiterInfo {
    /// Maximum amount of seats. -1 means no limit.
    #[serde(rename = "maxSeats")]
    pub max_seats: i32,
}

impl PerformanceLimiterInfo {
    /// Info about the performance limits on a platform
    pub fn new(max_seats: i32) -> PerformanceLimiterInfo {
        PerformanceLimiterInfo { max_seats }
    }
}