vrchatapi 1.20.7

VRChat API Client for Rust
Documentation
/*
 * VRChat API Documentation
 *
 *
 * Contact: vrchatapi.lpv0t@aries.fyi
 * Generated by: https://openapi-generator.tech
 */

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