pub struct Chapter {
pub key: String,
pub title: Option<String>,
pub chapter_number: Option<f32>,
pub volume_number: Option<f32>,
pub date_uploaded: Option<i64>,
pub scanlators: Option<Vec<String>>,
pub url: Option<String>,
pub language: Option<String>,
pub thumbnail: Option<String>,
pub locked: bool,
}Expand description
A chapter of a manga.
Fields§
§key: StringUnique identifier for the chapter.
title: Option<String>Title of the chapter (excluding volume and chapter number).
chapter_number: Option<f32>Chapter number.
volume_number: Option<f32>Volume number.
date_uploaded: Option<i64>Date the chapter was uploaded.
scanlators: Option<Vec<String>>Optional list of groups that scanlated or published the chapter.
url: Option<String>Link to the chapter on the source website.
language: Option<String>Language of the chapter.
thumbnail: Option<String>Optional thumbnail image url for the chapter.
locked: boolBoolean indicating if the chapter is locked.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Chapter
impl<'de> Deserialize<'de> for Chapter
Source§fn 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 StructuralPartialEq for Chapter
Auto Trait Implementations§
impl Freeze for Chapter
impl RefUnwindSafe for Chapter
impl Send for Chapter
impl Sync for Chapter
impl Unpin for Chapter
impl UnwindSafe for Chapter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more