Upgrade Rust SDK to spec 1.5.0

This commit is contained in:
VRCCat
2021-10-28 20:54:23 +00:00
parent ed45aec710
commit 91bcf683ce
73 changed files with 381 additions and 426 deletions

View File

@ -0,0 +1,26 @@
/*
* VRChat API Documentation
*
*
* Contact: me@ruby.js.org
* Generated by: https://openapi-generator.tech
*/
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct TwoFactorAuthCode {
#[serde(rename = "code")]
pub code: String,
}
impl TwoFactorAuthCode {
pub fn new(code: String) -> TwoFactorAuthCode {
TwoFactorAuthCode {
code,
}
}
}