Struct mangadex_api_schema_rust::v5::chapter::ChapterAttributes
source · #[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: u32Count of readable images for this chapter.
translated_language: LanguageLanguage the text is in.
uploader: Option<Uuid>§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: 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
source§fn eq(&self, other: &ChapterAttributes) -> bool
fn eq(&self, other: &ChapterAttributes) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ChapterAttributes
Auto Trait Implementations§
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