Files
vrchatapi-rust/src/models/inline_object_13.rs
2021-08-31 20:01:31 +02:00

31 lines
643 B
Rust

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