vrchatapi 1.20.8-nightly.15

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct PaginatedModerationReportList {
    /// Whether there are more results after this page.
    #[serde(rename = "hasNext", skip_serializing_if = "Option::is_none")]
    pub has_next: Option<bool>,
    /// The list of moderation reports.
    #[serde(rename = "results", skip_serializing_if = "Option::is_none")]
    pub results: Option<Vec<models::ModerationReport>>,
    /// The total number of results that the query would return if there were no pagination.
    #[serde(rename = "totalCount", skip_serializing_if = "Option::is_none")]
    pub total_count: Option<i32>,
}

impl PaginatedModerationReportList {
    pub fn new() -> PaginatedModerationReportList {
        PaginatedModerationReportList {
            has_next: None,
            results: None,
            total_count: None,
        }
    }
}