1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
use mangadex_api_types::ReportCategory;
use serde::Deserialize;

use crate::v5::LocalizedString;

/// Report reason response object.
#[derive(Clone, Debug, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct ReportReasonAttributes {
    pub reason: LocalizedString,
    pub details_required: bool,
    pub category: ReportCategory,
    pub version: u32,
}