pub struct Book {
pub id: u64,
pub title: String,
pub author: Option<String>,
pub category: String,
pub num_highlights: u64,
pub last_highlighted_at: Option<String>,
pub updated: String,
pub cover_image_url: String,
pub highlights_url: String,
pub source_url: Option<String>,
}
Fields
id: u64
title: String
category: String
num_highlights: u64
last_highlighted_at: Option<String>
updated: String
cover_image_url: String
highlights_url: String
source_url: Option<String>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Book
impl<'de> Deserialize<'de> for Book
sourcefn 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 RefUnwindSafe for Book
impl Send for Book
impl Sync for Book
impl Unpin for Book
impl UnwindSafe for Book
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more