pub struct Chapter<'a> {Show 15 fields
pub id: u32,
pub main_name: Cow<'a, str>,
pub sub_name: Cow<'a, str>,
pub image_url: Cow<'a, str>,
pub point_consumption: Option<PointConsumption>,
pub end_of_rental_period: u32,
pub number_of_comments: u32,
pub publishing_type: PublishingType,
pub published_date: Cow<'a, str>,
pub advance_published_date: Cow<'a, str>,
pub badge: Badge,
pub already_viewed: bool,
pub first_page_image_url: Cow<'a, str>,
pub number_of_user_likes: u32,
pub title_id: u32,
}
Fields§
§id: u32
§main_name: Cow<'a, str>
§sub_name: Cow<'a, str>
§image_url: Cow<'a, str>
§point_consumption: Option<PointConsumption>
§end_of_rental_period: u32
§number_of_comments: u32
§publishing_type: PublishingType
§published_date: Cow<'a, str>
§advance_published_date: Cow<'a, str>
§badge: Badge
§already_viewed: bool
§first_page_image_url: Cow<'a, str>
§number_of_user_likes: u32
§title_id: u32
Trait 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