mirror of
https://github.com/mii443/vrchatapi-rust.git
synced 2025-08-22 23:55:33 +00:00
Upgrade Rust SDK to spec 1.5.0
This commit is contained in:
26
src/models/two_factor_auth_code.rs
Normal file
26
src/models/two_factor_auth_code.rs
Normal 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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user