[][src]Struct serde_mangadex::manga_norm::MangaData

pub struct MangaData {
    pub title: String,
    pub status: Status,
    pub genres: GenreSet,
    pub desc: String,
    pub authors: Vec<String>,
    pub artists: Vec<String>,
    pub last_chapter: Option<ChapterNumber>,
    pub lang: Language,
    pub hentai: bool,
    pub links: Links,
    pub chapters: Vec<Chapter>,
    // some fields omitted
}

Manga data from a top level

Fields

title: Stringstatus: Statusgenres: GenreSetdesc: Stringauthors: Vec<String>artists: Vec<String>last_chapter: Option<ChapterNumber>lang: Languagehentai: boollinks: Linkschapters: Vec<Chapter>

Methods

impl MangaData[src]

pub fn from_manga(
    crate::manga_api::Data { manga: manga, chapters: ch }: Data,
    grps: &mut Groups
) -> Self
[src]

pub fn filter_chap_by_langs<L: Into<LanguageSet>>(&self, l: L) -> Vec<&Chapter>[src]

Trait Implementations

impl Clone for MangaData[src]

impl Debug for MangaData[src]

impl Default for MangaData[src]

impl Serialize for MangaData[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.