Struct dnote_tui::dnote::DnoteClient
source · pub struct DnoteClient {}Implementations§
source§impl DnoteClient
impl DnoteClient
pub fn get_books(&self) -> Result<Vec<DnoteBook>, DnoteClientError>
pub fn rename_book( &self, book_name: &str, new_book_name: &str, ) -> Result<(), DnoteClientError>
pub fn get_pages( &self, book_name: &str, ) -> Result<Vec<DnotePage>, DnoteClientError>
pub fn get_page_content( &self, page_id: u32, ) -> Result<DnotePageInfo, DnoteClientError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DnoteClient
impl RefUnwindSafe for DnoteClient
impl Send for DnoteClient
impl Sync for DnoteClient
impl Unpin for DnoteClient
impl UnwindSafe for DnoteClient
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