pub struct BookInfo {
pub author: String,
pub cover_url: String,
pub intro: String,
pub kind: String,
pub last_chapter: String,
pub name: String,
pub toc_url: String,
pub word_count: String,
}
Fields§
§cover_url: String
§intro: String
§kind: String
§last_chapter: String
§name: String
§toc_url: String
§word_count: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BookInfo
impl<'de> Deserialize<'de> for BookInfo
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
Auto Trait Implementations§
impl Freeze for BookInfo
impl RefUnwindSafe for BookInfo
impl Send for BookInfo
impl Sync for BookInfo
impl Unpin for BookInfo
impl UnwindSafe for BookInfo
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