pub struct LastPage {
pub current_chapter: Option<Chapter>,
pub next_chapter: Option<Chapter>,
pub top_comments: Vec<Comment>,
pub is_subscribed: bool,
pub next_time_stamp: u32,
pub chapter_type: i32,
}
Fields§
§current_chapter: Option<Chapter>
§next_chapter: Option<Chapter>
§top_comments: Vec<Comment>
§is_subscribed: bool
§next_time_stamp: u32
§chapter_type: i32
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LastPage
impl<'de> Deserialize<'de> for LastPage
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 LastPage
impl<'a> MessageRead<'a> for LastPage
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 LastPage
impl MessageWrite for LastPage
impl StructuralPartialEq for LastPage
Auto Trait Implementations§
impl Freeze for LastPage
impl RefUnwindSafe for LastPage
impl Send for LastPage
impl Sync for LastPage
impl Unpin for LastPage
impl UnwindSafe for LastPage
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