Struct yuyu_core::ImageAlbum[][src]

pub struct ImageAlbum {
Show fields pub authors: Vec<String>, pub categories: Vec<String>, pub characters: Vec<String>, pub cover: Page, pub id: String, pub groups: Vec<String>, pub languages: Vec<String>, pub pages: Vec<Page>, pub site: String, pub tags: Vec<String>, pub title: String, pub translated: bool, pub upload_date: f64,
}

A struct containing vital information about a comic.

Fields

authors: Vec<String>

The authors of the comic

categories: Vec<String>characters: Vec<String>

The characters appearing in the comic.

cover: Pageid: String

The unique identifier of the comic.

This is guaranteed to be unique only on the original site, as such it should always be used in conjunction with the site property.

groups: Vec<String>languages: Vec<String>

The language this comic is avaible.

This is usually one but it is a vec for api reason.

pages: Vec<Page>site: String

The site this comic was downloaded from

tags: Vec<String>title: Stringtranslated: bool

Whether or not the comic was translated from another language.

upload_date: f64

Upload date in UNIX time-stamp format.

Implementations

impl ImageAlbum[src]

pub async fn download(&self) -> Result<()>[src]

Trait Implementations

impl Debug for ImageAlbum[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> Instrument for T[src]

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

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.