Struct mangadex_api::v2::responses::partials::ChapterPartial [−][src]
Partial information about a chapter.
This struct should not be used directly.
Fields
id: ChapterId
hash: String
manga_id: MangaId
manga_title: String
volume: String
chapter: 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: Language
uploader: UserId
Numerical user ID of the user that uploaded the chapter.
timestamp: DateTime<Utc>
thread_id: u64
comments: 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]
fn clone(&self) -> ChapterPartial
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ChapterPartial
[src]
impl<'de> Deserialize<'de> for ChapterPartial
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<ChapterPartial> for ChapterPartial
[src]
fn eq(&self, other: &ChapterPartial) -> bool
[src]
fn ne(&self, other: &ChapterPartial) -> bool
[src]
impl PartialOrd<ChapterPartial> for ChapterPartial
[src]
fn partial_cmp(&self, other: &ChapterPartial) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for ChapterPartial
[src]
Auto Trait Implementations
impl RefUnwindSafe for ChapterPartial
impl Send for ChapterPartial
impl Sync for ChapterPartial
impl Unpin for ChapterPartial
impl UnwindSafe for ChapterPartial
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,