pub struct ChapterAttributes {
pub title: Option<String>,
pub volume: Option<String>,
pub chapter: Option<String>,
pub pages: usize,
pub translated_language: Locale,
pub uploader: Option<String>,
pub external_url: Option<String>,
pub version: usize,
pub created_at: String,
pub updated_at: String,
pub publish_at: String,
pub readable_at: String,
}
Expand description
Used for serialization/deserialization
Fields§
§title: Option<String>
§volume: Option<String>
§chapter: Option<String>
§pages: usize
§translated_language: Locale
§uploader: Option<String>
§external_url: Option<String>
§version: usize
§created_at: String
§updated_at: String
§publish_at: String
§readable_at: String
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 · 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
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