mirror of
https://github.com/mii443/vrchatapi-rust.git
synced 2025-08-22 15:45:35 +00:00
26 lines
498 B
Rust
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,
|
|
}
|
|
}
|
|
}
|
|
|