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]
pub fn new<'a, P: AsRef<Path>, I>(
joplin_folder: P,
passwords: I
) -> Result<JoplinNotebook, JoplinReaderError> where
I: IntoIterator<Item = &'a str>,
[src]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]
pub fn read_note(&mut self, note_id: &str) -> Result<&str, JoplinReaderError>
[src]Returns the content of a note.
Trait Implementations
impl Debug for JoplinNotebook
[src]
impl Debug for JoplinNotebook
[src]impl Serialize for JoplinNotebook
[src]
impl Serialize for JoplinNotebook
[src]Auto Trait Implementations
impl RefUnwindSafe for JoplinNotebook
impl Send for JoplinNotebook
impl Sync for JoplinNotebook
impl Unpin for JoplinNotebook
impl UnwindSafe for JoplinNotebook
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self