pub struct Highlight {
pub id: u64,
pub text: String,
pub note: String,
pub location: u64,
pub location_type: String,
pub highlighted_at: Option<String>,
pub url: Option<String>,
pub color: String,
pub updated: String,
pub books_id: Option<String>,
}
Fields
id: u64
text: String
note: String
location: u64
location_type: String
highlighted_at: Option<String>
url: Option<String>
color: String
updated: String
books_id: Option<String>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Highlight
impl<'de> Deserialize<'de> for Highlight
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 Highlight
impl Send for Highlight
impl Sync for Highlight
impl Unpin for Highlight
impl UnwindSafe for Highlight
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