1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
use mangadex_api_types::{MangaDexDateTime, ReportStatus};
use serde::Deserialize;

/// User submitted report information.
#[derive(Clone, Debug, Deserialize)]
#[serde(rename_all = "camelCase")]
#[non_exhaustive]
pub struct UserReportAttributes {
    pub details: String,
    pub object_id: String,
    pub status: ReportStatus,
    /// Datetime in `YYYY-MM-DDTHH:MM:SS+HH:MM` format.
    pub created_at: MangaDexDateTime,
}