mirror of
https://github.com/mii443/vrchatapi-rust.git
synced 2025-08-22 23:55:33 +00:00
* bump: openapi-generator to 7.7.0 * fix: remove empty doc comments to silence clippy * bump: remove unessecary patches fixed by the update * bump: run generate.sh
26 lines
481 B
Rust
26 lines
481 B
Rust
/*
|
|
* VRChat API Documentation
|
|
*
|
|
*
|
|
* Contact: vrchatapi.lpv0t@aries.fyi
|
|
* Generated by: https://openapi-generator.tech
|
|
*/
|
|
|
|
use crate::models;
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
|
|
pub struct TwoFactorAuthCode {
|
|
#[serde(rename = "code")]
|
|
pub code: String,
|
|
}
|
|
|
|
impl TwoFactorAuthCode {
|
|
pub fn new(code: String) -> TwoFactorAuthCode {
|
|
TwoFactorAuthCode {
|
|
code,
|
|
}
|
|
}
|
|
}
|
|
|