Enum dnote_tui::dnote::DnoteCommand
source · pub enum DnoteCommand {
Add {
book_name: String,
note: String,
},
ViewBooks,
ViewByBook {
book_name: String,
},
ViewByNoteId {
note_id: u32,
},
EditNoteById {
note_id: String,
new_content: Option<String>,
new_book: Option<String>,
},
EditBook {
book_name: String,
new_name: Option<String>,
},
RemoveBook {
book_name: String,
},
RemoveNoteById {
note_id: u32,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DnoteCommand
impl RefUnwindSafe for DnoteCommand
impl Send for DnoteCommand
impl Sync for DnoteCommand
impl Unpin for DnoteCommand
impl UnwindSafe for DnoteCommand
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