pub struct ReaderDataFile {
pub font_preferences: Option<FontPreferences>,
pub sync_lpr: Option<bool>,
pub nis_info_data: Option<String>,
pub annotation_cache: Option<Map<NoteType, IntervalTree<Note>>>,
pub apnx_key: Option<APNXKey>,
pub language_store: Option<LanguageStore>,
pub reader_metrics: Option<Map<String, String>>,
}
Expand description
Reader data file (.yjr and .azw3r) contains the users current font configuration (including size, bold, chosen font, etc…) as well as a list of different annotations the user has made (handwritten (Scribe), sticky notes (PDFs), typed notes, highlights and bookmarks).
Fields§
§font_preferences: Option<FontPreferences>
§sync_lpr: Option<bool>
§nis_info_data: Option<String>
§annotation_cache: Option<Map<NoteType, IntervalTree<Note>>>
§apnx_key: Option<APNXKey>
§language_store: Option<LanguageStore>
§reader_metrics: Option<Map<String, String>>
Trait Implementations§
Source§impl Clone for ReaderDataFile
impl Clone for ReaderDataFile
Source§fn clone(&self) -> ReaderDataFile
fn clone(&self) -> ReaderDataFile
Returns a duplicate 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 ReaderDataFile
impl Debug for ReaderDataFile
Source§impl Default for ReaderDataFile
impl Default for ReaderDataFile
Source§fn default() -> ReaderDataFile
fn default() -> ReaderDataFile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReaderDataFile
impl<'de> Deserialize<'de> for ReaderDataFile
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 PartialEq for ReaderDataFile
impl PartialEq for ReaderDataFile
Source§impl Serialize for ReaderDataFile
impl Serialize for ReaderDataFile
impl StructuralPartialEq for ReaderDataFile
Auto Trait Implementations§
impl Freeze for ReaderDataFile
impl RefUnwindSafe for ReaderDataFile
impl Send for ReaderDataFile
impl Sync for ReaderDataFile
impl Unpin for ReaderDataFile
impl UnwindSafe for ReaderDataFile
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