#[non_exhaustive]pub struct ChapterAttributes {
pub title: Option<String>,
pub volume: Option<String>,
pub chapter: Option<String>,
pub pages: u32,
pub translated_language: Language,
pub uploader: Option<Uuid>,
pub external_url: Option<Url>,
pub version: u32,
pub created_at: MangaDexDateTime,
pub updated_at: Option<MangaDexDateTime>,
pub publish_at: Option<MangaDexDateTime>,
pub readable_at: Option<MangaDexDateTime>,
}
Expand description
General chapter information. More details at https://api.mangadex.org/docs/swagger.html#model-ChapterAttributes
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.title: Option<String>
§volume: Option<String>
Volume number in the manga.
chapter: Option<String>
Chapter number in the manga.
pages: u32
Count of readable images for this chapter.
translated_language: Language
Language the text is in.
uploader: Option<Uuid>
§external_url: Option<Url>
Denotes a chapter that links to an external source.
version: u32
§created_at: MangaDexDateTime
Datetime in YYYY-MM-DDTHH:MM:SS+HH:MM
format.
updated_at: Option<MangaDexDateTime>
Datetime in YYYY-MM-DDTHH:MM:SS+HH:MM
format.
publish_at: Option<MangaDexDateTime>
Datetime in YYYY-MM-DDTHH:MM:SS+HH:MM
format.
readable_at: Option<MangaDexDateTime>
Datetime in YYYY-MM-DDTHH:MM:SS+HH:MM
format.
Trait Implementations§
Source§impl Clone for ChapterAttributes
impl Clone for ChapterAttributes
Source§fn clone(&self) -> ChapterAttributes
fn clone(&self) -> ChapterAttributes
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChapterAttributes
impl Debug for ChapterAttributes
Source§impl<'de> Deserialize<'de> for ChapterAttributes
impl<'de> Deserialize<'de> for ChapterAttributes
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
Source§impl PartialEq for ChapterAttributes
impl PartialEq for ChapterAttributes
impl StructuralPartialEq for ChapterAttributes
Auto Trait Implementations§
impl Freeze for ChapterAttributes
impl RefUnwindSafe for ChapterAttributes
impl Send for ChapterAttributes
impl Sync for ChapterAttributes
impl Unpin for ChapterAttributes
impl UnwindSafe for ChapterAttributes
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