pub struct MangaViewer {
pub pages: Vec<Page>,
pub chapter_id: u32,
pub chapters: Vec<Chapter>,
pub sns: Option<Sns>,
pub title_name: String,
pub chapter_name: String,
pub number_of_comments: i32,
pub is_vertical_only: bool,
pub title_id: u32,
pub start_from_right: bool,
}
Fields§
§pages: Vec<Page>
§chapter_id: u32
§chapters: Vec<Chapter>
§sns: Option<Sns>
§title_name: String
§chapter_name: String
§number_of_comments: i32
§is_vertical_only: bool
§title_id: u32
§start_from_right: bool
Trait Implementations§
Source§impl Clone for MangaViewer
impl Clone for MangaViewer
Source§fn clone(&self) -> MangaViewer
fn clone(&self) -> MangaViewer
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MangaViewer
impl Debug for MangaViewer
Source§impl Default for MangaViewer
impl Default for MangaViewer
Source§fn default() -> MangaViewer
fn default() -> MangaViewer
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MangaViewer
impl<'de> Deserialize<'de> for MangaViewer
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 MangaViewer
impl<'a> MessageRead<'a> for MangaViewer
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 MangaViewer
impl MessageWrite for MangaViewer
Source§impl PartialEq for MangaViewer
impl PartialEq for MangaViewer
Source§impl Serialize for MangaViewer
impl Serialize for MangaViewer
impl StructuralPartialEq for MangaViewer
Auto Trait Implementations§
impl Freeze for MangaViewer
impl RefUnwindSafe for MangaViewer
impl Send for MangaViewer
impl Sync for MangaViewer
impl Unpin for MangaViewer
impl UnwindSafe for MangaViewer
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