Struct mangadex_api::v2::responses::partials::chapter::ChapterPartial[][src]

pub struct ChapterPartial {
    id: ChapterId,
    hash: String,
    manga_id: MangaId,
    manga_title: String,
    volume: String,
    chapter: String,
    title: String,
    language: Language,
    uploader: UserId,
    timestamp: DateTime<Utc>,
    thread_id: u64,
    comments: u64,
    views: u64,
}

Partial information about a chapter.

This struct should not be used directly.

Fields

id: ChapterIdhash: Stringmanga_id: MangaIdmanga_title: Stringvolume: Stringchapter: String

Chapter number.

This can be an “integer” or “float” with the following example values respectively “3” and “3.5”.

title: String

Chapter title.

language: Languageuploader: UserId

Numerical user ID of the user that uploaded the chapter.

timestamp: DateTime<Utc>thread_id: u64comments: u64

The number of comments posted to this chapter.

views: u64

The number of views this chapter has received.

Implementations

impl ChapterPartial[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 thread_id(&self) -> &u64[src]

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

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

Trait Implementations

impl Clone for ChapterPartial[src]

impl Debug for ChapterPartial[src]

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

impl PartialEq<ChapterPartial> for ChapterPartial[src]

impl PartialOrd<ChapterPartial> for ChapterPartial[src]

impl StructuralPartialEq for ChapterPartial[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.