mangadex_api_schema_rust/v5/
manga_reading_status.rs

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

/// Reading status for a single manga.
#[derive(Debug, Deserialize, Clone)]
#[cfg_attr(feature = "serialize", derive(serde::Serialize))]
#[serde(rename_all = "camelCase")]
#[cfg_attr(feature = "specta", derive(specta::Type))]
pub struct MangaReadingStatus {
    #[serde(default)]
    pub result: ResultType,
    pub status: Option<ReadingStatus>,
}