vrchatapi 1.20.8-nightly.15

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};

/// OkStatus : A status response consisting of solely a string description of whether the result of an operation was ok.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct OkStatus {
    /// The actual status itself
    #[serde(rename = "ok")]
    pub ok: String,
}

impl OkStatus {
    /// A status response consisting of solely a string description of whether the result of an operation was ok.
    pub fn new(ok: String) -> OkStatus {
        OkStatus { ok }
    }
}