pub struct Chapter {
pub title_id: u32,
pub chapter_id: u32,
pub name: String,
pub sub_title: String,
pub thumbnail_url: String,
pub start_time_stamp: u32,
pub end_time_stamp: u32,
pub already_viewed: bool,
pub is_vertical_only: bool,
}
Fields§
§title_id: u32
§chapter_id: u32
§name: String
§sub_title: String
§thumbnail_url: String
§start_time_stamp: u32
§end_time_stamp: u32
§already_viewed: bool
§is_vertical_only: bool
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
Source§impl<'a> MessageRead<'a> for Chapter
impl<'a> MessageRead<'a> for Chapter
Source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read moreSource§impl MessageWrite for Chapter
impl MessageWrite for Chapter
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