vrchatapi 1.20.8-nightly.11

VRChat API Client for Rust
Documentation
use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TwoFactorRecoveryCodes {
    #[serde(rename = "otp", skip_serializing_if = "Option::is_none")]
    pub otp: Option<Vec<models::TwoFactorRecoveryCodesOtpInner>>,
    #[serde(
        rename = "requiresTwoFactorAuth",
        skip_serializing_if = "Option::is_none"
    )]
    pub requires_two_factor_auth: Option<Vec<String>>,
}

impl TwoFactorRecoveryCodes {
    pub fn new() -> TwoFactorRecoveryCodes {
        TwoFactorRecoveryCodes {
            otp: None,
            requires_two_factor_auth: None,
        }
    }
}