#[non_exhaustive]pub struct ChapterAttributes {
pub title: 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: MangaDexDateTime,
pub readable_at: MangaDexDateTime,
}Expand description
General chapter information.
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: String§volume: Option<String>Volume number in the manga.
chapter: Option<String>Chapter number in the manga.
pages: u32Count of readable images for this chapter.
translated_language: LanguageLanguage the text is in.
uploader: Option<Uuid>User ID (UUID) who uploaded the chapter.
external_url: Option<Url>Denotes a chapter that links to an external source.
version: u32§created_at: MangaDexDateTimeDatetime 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: MangaDexDateTimeDatetime in YYYY-MM-DDTHH:MM:SS+HH:MM format.
readable_at: MangaDexDateTimeDatetime 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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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<ChapterAttributes, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ChapterAttributes, <__D as Deserializer<'de>>::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 UnsafeUnpin 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