pub struct BookmarkManager { /* private fields */ }Implementations§
Source§impl BookmarkManager
impl BookmarkManager
pub fn new() -> Result<Self>
pub fn save_bookmark( &mut self, name: String, query: String, description: Option<String>, ) -> Result<()>
pub fn get_bookmark(&self, name: &str) -> Option<&Bookmark>
pub fn list_bookmarks(&self)
pub fn delete_bookmark(&mut self, name: &str) -> Result<bool>
pub fn show_bookmark(&self, name: &str) -> Option<()>
Trait Implementations§
Source§impl Clone for BookmarkManager
impl Clone for BookmarkManager
Source§fn clone(&self) -> BookmarkManager
fn clone(&self) -> BookmarkManager
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 moreAuto Trait Implementations§
impl Freeze for BookmarkManager
impl RefUnwindSafe for BookmarkManager
impl Send for BookmarkManager
impl Sync for BookmarkManager
impl Unpin for BookmarkManager
impl UnwindSafe for BookmarkManager
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