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 InventoryNotificationDetails {
    #[serde(rename = "body")]
    pub body: String,
    #[serde(rename = "imageUrl")]
    pub image_url: String,
    #[serde(rename = "title")]
    pub title: String,
}

impl InventoryNotificationDetails {
    pub fn new(body: String, image_url: String, title: String) -> InventoryNotificationDetails {
        InventoryNotificationDetails {
            body,
            image_url,
            title,
        }
    }
}