vrchatapi 1.20.8-nightly.15

VRChat API Client for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TwoFactorEmailCode {
    #[serde(rename = "code")]
    pub code: String,
}

impl TwoFactorEmailCode {
    pub fn new(code: String) -> TwoFactorEmailCode {
        TwoFactorEmailCode { code }
    }
}