pub struct LastPage<'a> {
pub current_chapter: Option<Chapter<'a>>,
pub next_chapter: Option<Chapter<'a>>,
pub advertisement: Option<AdNetworkList<'a>>,
pub sns: Option<Sns<'a>>,
pub is_bookmarked: bool,
pub is_liked: bool,
pub recommended_titles: Vec<Title<'a>>,
pub questionnaire_url: Cow<'a, str>,
}
Fields§
§current_chapter: Option<Chapter<'a>>
§next_chapter: Option<Chapter<'a>>
§advertisement: Option<AdNetworkList<'a>>
§sns: Option<Sns<'a>>
§is_bookmarked: bool
§is_liked: bool
§recommended_titles: Vec<Title<'a>>
§questionnaire_url: Cow<'a, str>
Trait Implementations§
Source§impl<'a> MessageRead<'a> for LastPage<'a>
impl<'a> MessageRead<'a> for LastPage<'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 LastPage<'a>
impl<'a> MessageWrite for LastPage<'a>
impl<'a> StructuralPartialEq for LastPage<'a>
Auto Trait Implementations§
impl<'a> Freeze for LastPage<'a>
impl<'a> RefUnwindSafe for LastPage<'a>
impl<'a> Send for LastPage<'a>
impl<'a> Sync for LastPage<'a>
impl<'a> Unpin for LastPage<'a>
impl<'a> UnwindSafe for LastPage<'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