Struct mangadex_api::v2::responses::chapter::ChapterData[][src]

pub struct ChapterData {
    chapter_partial: ChapterPartial,
    groups: Vec<GroupPartial>,
    status: ChapterStatus,
    pages: Vec<String>,
    server: String,
    server_fallback: Option<String>,
}

This struct should not be used directly.

The page URLs can be assembled with the following format: {server}{hash}/{page_filename}

Fields

chapter_partial: ChapterPartialgroups: Vec<GroupPartial>status: ChapterStatuspages: Vec<String>

Page filenames.

server: String

Server where the pages can be accessed.

server_fallback: Option<String>

An alternative server where the pages can be accessed.

Implementations

impl ChapterData[src]

pub fn id(&self) -> &ChapterId[src]

pub fn hash(&self) -> &String[src]

pub fn manga_id(&self) -> &MangaId[src]

pub fn manga_title(&self) -> &String[src]

pub fn volume(&self) -> &String[src]

pub fn chapter(&self) -> &String[src]

pub fn title(&self) -> &String[src]

pub fn language(&self) -> &Language[src]

pub fn uploader(&self) -> &UserId[src]

pub fn timestamp(&self) -> &DateTime<Utc>[src]

pub fn comments(&self) -> &u64[src]

pub fn views(&self) -> &u64[src]

pub fn groups(&self) -> &Vec<GroupPartial>[src]

pub fn status(&self) -> &ChapterStatus[src]

pub fn pages(&self) -> &Vec<String>[src]

pub fn server(&self) -> &String[src]

pub fn server_fallback(&self) -> &Option<String>[src]

Trait Implementations

impl Clone for ChapterData[src]

impl Debug for ChapterData[src]

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

impl PartialEq<ChapterData> for ChapterData[src]

impl PartialOrd<ChapterData> for ChapterData[src]

impl StructuralPartialEq for ChapterData[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument 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.