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
15
16
17
use crate::models;
use serde::{Deserialize, Serialize};

/// AvatarStyle :
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AvatarStyle {
    #[serde(rename = "id")]
    pub id: String,
    #[serde(rename = "styleName")]
    pub style_name: String,
}

impl AvatarStyle {
    pub fn new(id: String, style_name: String) -> AvatarStyle {
        AvatarStyle { id, style_name }
    }
}