Struct dynasty_api::chapter::Chapter
source · [−]pub struct Chapter {
pub title: String,
pub long_title: String,
pub permalink: String,
pub released_on: String,
pub added_on: String,
pub tags: Vec<TagItem>,
pub pages: Vec<ChapterPage>,
}Expand description
A wrapper around Dynasty Reader’s chapter
Example urls
Fields
title: Stringlong_title: Stringpermalink: Stringreleased_on: Stringadded_on: Stringpages: Vec<ChapterPage>Trait Implementations
sourceimpl<'de> Deserialize<'de> for Chapter
impl<'de> Deserialize<'de> for Chapter
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Chapter
impl StructuralEq for Chapter
impl StructuralPartialEq for Chapter
Auto Trait Implementations
impl RefUnwindSafe for Chapter
impl Send for Chapter
impl Sync for Chapter
impl Unpin for Chapter
impl UnwindSafe for Chapter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.