mangadex_api_schema_rust/v5/
manga_relation.rs

1
2
3
4
5
6
7
8
9
10
11
use mangadex_api_types::MangaRelation;
use serde::Deserialize;

/// Response struct for the manga relation list endpoint (GET `/manga/:id/aggregate`).
#[derive(Clone, Debug, Deserialize, PartialEq)]
#[cfg_attr(feature = "serialize", derive(serde::Serialize))]
#[cfg_attr(feature = "specta", derive(specta::Type))]
pub struct MangaRelationAttributes {
    pub relation: MangaRelation,
    pub version: u32,
}