vrchatapi 1.22.2-nightly.2

VRChat API Client for Rust
Documentation
use crate::models;
use serde::{Deserialize, Serialize};

/// GroupGalleryImageList : A page of a group gallery's images.
#[serde_with::serde_as]
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GroupGalleryImageList {
    #[serde(rename = "results")]
    pub results: Vec<models::GroupGalleryImage>,
    #[serde(rename = "totalCount")]
    pub total_count: i32,
}

impl GroupGalleryImageList {
    /// A page of a group gallery's images.
    pub fn new(results: Vec<models::GroupGalleryImage>, total_count: i32) -> GroupGalleryImageList {
        GroupGalleryImageList {
            results,
            total_count,
        }
    }
}