pub struct Chapter<'a> {
pub title_id: u32,
pub chapter_id: u32,
pub name: Cow<'a, str>,
pub sub_title: Cow<'a, str>,
pub thumbnail_url: Cow<'a, str>,
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: Cow<'a, str>§sub_title: Cow<'a, str>§thumbnail_url: Cow<'a, str>§start_time_stamp: u32§end_time_stamp: u32§already_viewed: bool§is_vertical_only: boolTrait Implementations§
Source§impl<'a> MessageRead<'a> for Chapter<'a>
impl<'a> MessageRead<'a> for Chapter<'a>
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<'a> MessageWrite for Chapter<'a>
impl<'a> MessageWrite for Chapter<'a>
impl<'a> StructuralPartialEq for Chapter<'a>
Auto Trait Implementations§
impl<'a> Freeze for Chapter<'a>
impl<'a> RefUnwindSafe for Chapter<'a>
impl<'a> Send for Chapter<'a>
impl<'a> Sync for Chapter<'a>
impl<'a> Unpin for Chapter<'a>
impl<'a> UnwindSafe for Chapter<'a>
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