Struct joplin_reader::notebook::JoplinNotebook [−][src]
pub struct JoplinNotebook { /* fields omitted */ }
Container struct
which contains the references (and contents) to the
NoteInfo
s as well as the MasterKey
s.
Implementations
impl JoplinNotebook
[src]
impl JoplinNotebook
[src]pub fn new<'a, P: AsRef<Path>, I>(
joplin_folder: P,
passwords: I
) -> Result<JoplinNotebook, JoplinReaderError> where
I: IntoIterator<Item = &'a str>,
[src]
joplin_folder: P,
passwords: I
) -> Result<JoplinNotebook, JoplinReaderError> where
I: IntoIterator<Item = &'a str>,
Read a Joplin data folder. passwords
need to be passed as comma-separated
key-value (master_key_id,passphrase) pairs.
pub fn read_note(&mut self, note_id: &str) -> Result<&str, JoplinReaderError>
[src]
Returns the content of a note.
pub fn get_note(&self, note_id: &str) -> Result<&NoteInfo, JoplinReaderError>
[src]
Returns a NoteInfo
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for JoplinNotebook
impl RefUnwindSafe for JoplinNotebook
impl Send for JoplinNotebook
impl Send for JoplinNotebook
impl Sync for JoplinNotebook
impl Sync for JoplinNotebook
impl Unpin for JoplinNotebook
impl Unpin for JoplinNotebook
impl UnwindSafe for JoplinNotebook
impl UnwindSafe for JoplinNotebook