vrchatapi 1.23.1-nightly.10

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};

#[serde_with::serde_as]
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GlobalInventoryItemAttribution {
    #[serde(rename = "creator")]
    pub creator: models::GlobalInventoryItemAttributionCreator,
}

impl GlobalInventoryItemAttribution {
    pub fn new(
        creator: models::GlobalInventoryItemAttributionCreator,
    ) -> GlobalInventoryItemAttribution {
        GlobalInventoryItemAttribution { creator }
    }
}