vrchatapi/models/two_factor_email_code.rs
1/*
2 * VRChat API Documentation
3 *
4 *
5 * Contact: vrchatapi.lpv0t@aries.fyi
6 * Generated by: https://openapi-generator.tech
7 */
8
9use crate::models;
10use serde::{Deserialize, Serialize};
11
12#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
13pub struct TwoFactorEmailCode {
14 #[serde(rename = "code")]
15 pub code: String,
16}
17
18impl TwoFactorEmailCode {
19 pub fn new(code: String) -> TwoFactorEmailCode {
20 TwoFactorEmailCode { code }
21 }
22}