mangadex-api-schema-rust 0.1.0

Response structs and helpers for mangadex-api
Documentation
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,
}