pub struct BookmarksSnapshot {
pub groups: Vec<BookmarkGroup>,
pub entries: Vec<BookmarkEntry>,
/* private fields */
}Expand description
Bookmark persistence. Pin identity and order live in lingxia-shell.
Entry order within the vec is the bookmark display order.
Fields§
§groups: Vec<BookmarkGroup>§entries: Vec<BookmarkEntry>Trait Implementations§
Source§impl Clone for BookmarksSnapshot
impl Clone for BookmarksSnapshot
Source§fn clone(&self) -> BookmarksSnapshot
fn clone(&self) -> BookmarksSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BookmarksSnapshot
impl Debug for BookmarksSnapshot
Source§impl Default for BookmarksSnapshot
impl Default for BookmarksSnapshot
Source§fn default() -> BookmarksSnapshot
fn default() -> BookmarksSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BookmarksSnapshot
impl<'de> Deserialize<'de> for BookmarksSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BookmarksSnapshot
Source§impl PartialEq for BookmarksSnapshot
impl PartialEq for BookmarksSnapshot
Source§impl Serialize for BookmarksSnapshot
impl Serialize for BookmarksSnapshot
impl StructuralPartialEq for BookmarksSnapshot
Auto Trait Implementations§
impl Freeze for BookmarksSnapshot
impl RefUnwindSafe for BookmarksSnapshot
impl Send for BookmarksSnapshot
impl Sync for BookmarksSnapshot
impl Unpin for BookmarksSnapshot
impl UnsafeUnpin for BookmarksSnapshot
impl UnwindSafe for BookmarksSnapshot
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