Files
vrchatapi-rust/src/models/inline_object_12.rs
2021-10-08 12:05:31 +02:00

31 lines
607 B
Rust

/*
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.4.1
* Contact: me@ruby.js.org
* Generated by: https://openapi-generator.tech
*/
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct InlineObject12 {
#[serde(rename = "moderated")]
pub moderated: String,
#[serde(rename = "type")]
pub _type: crate::models::PlayerModerationType,
}
impl InlineObject12 {
pub fn new(moderated: String, _type: crate::models::PlayerModerationType) -> InlineObject12 {
InlineObject12 {
moderated,
_type,
}
}
}