pub struct Title {
pub title_id: u32,
pub name: String,
pub author: String,
pub portait_image_url: String,
pub landscape_image_url: String,
pub view_count: u32,
pub language: Language,
}
Fields§
§title_id: u32
§name: String
§portait_image_url: String
§landscape_image_url: String
§view_count: u32
§language: Language
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Title
impl<'de> Deserialize<'de> for Title
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 Title
impl<'a> MessageRead<'a> for Title
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 Title
impl MessageWrite for Title
impl StructuralPartialEq for Title
Auto Trait Implementations§
impl Freeze for Title
impl RefUnwindSafe for Title
impl Send for Title
impl Sync for Title
impl Unpin for Title
impl UnwindSafe for Title
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