Files
vrchatapi-rust/src/models/two_factor_auth_code.rs
2024-08-11 18:22:20 +02:00

26 lines
498 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, Debug, PartialEq, Serialize, Deserialize)]
pub struct TwoFactorAuthCode {
#[serde(rename = "code")]
pub code: std::sync::Arc<str>,
}
impl TwoFactorAuthCode {
pub fn new(code: std::sync::Arc<str>) -> TwoFactorAuthCode {
TwoFactorAuthCode {
code,
}
}
}