[][src]Struct tanoshi_lib::manga::Manga

pub struct Manga {
    pub id: i32,
    pub source: String,
    pub title: String,
    pub author: Vec<String>,
    pub genre: Vec<String>,
    pub status: Option<String>,
    pub description: Option<String>,
    pub path: String,
    pub thumbnail_url: String,
    pub last_read: Option<i32>,
    pub last_page: Option<i32>,
    pub is_favorite: bool,
}

A type represent manga details, normalized across source

Fields

id: i32source: Stringtitle: Stringauthor: Vec<String>genre: Vec<String>status: Option<String>description: Option<String>path: Stringthumbnail_url: Stringlast_read: Option<i32>last_page: Option<i32>is_favorite: bool

Trait Implementations

impl Clone for Manga[src]

impl Debug for Manga[src]

impl Default for Manga[src]

impl<'de> Deserialize<'de> for Manga[src]

impl Serialize for Manga[src]

Auto Trait Implementations

impl RefUnwindSafe for Manga

impl Send for Manga

impl Sync for Manga

impl Unpin for Manga

impl UnwindSafe for Manga

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.