pub enum BookmarkTreeNode {
Bookmark {
b: BookmarkNode,
},
Separator {
s: SeparatorNode,
},
Folder {
f: FolderNode,
},
}
Variants§
Implementations§
source§impl BookmarkTreeNode
impl BookmarkTreeNode
pub fn node_type(&self) -> BookmarkType
pub fn guid(&self) -> &SyncGuid
pub fn created_modified(&self) -> (Timestamp, Timestamp)
Trait Implementations§
source§impl Debug for BookmarkTreeNode
impl Debug for BookmarkTreeNode
source§impl<'de> Deserialize<'de> for BookmarkTreeNode
impl<'de> Deserialize<'de> for BookmarkTreeNode
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
source§impl From<BookmarkNode> for BookmarkTreeNode
impl From<BookmarkNode> for BookmarkTreeNode
source§fn from(b: BookmarkNode) -> Self
fn from(b: BookmarkNode) -> Self
Converts to this type from the input type.
source§impl From<BookmarkTreeNode> for InsertableItem
impl From<BookmarkTreeNode> for InsertableItem
source§fn from(node: BookmarkTreeNode) -> Self
fn from(node: BookmarkTreeNode) -> Self
Converts to this type from the input type.
source§impl From<FolderNode> for BookmarkTreeNode
impl From<FolderNode> for BookmarkTreeNode
source§fn from(f: FolderNode) -> Self
fn from(f: FolderNode) -> Self
Converts to this type from the input type.
source§impl From<SeparatorNode> for BookmarkTreeNode
impl From<SeparatorNode> for BookmarkTreeNode
source§fn from(s: SeparatorNode) -> Self
fn from(s: SeparatorNode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BookmarkTreeNode
impl RefUnwindSafe for BookmarkTreeNode
impl Send for BookmarkTreeNode
impl Sync for BookmarkTreeNode
impl Unpin for BookmarkTreeNode
impl UnwindSafe for BookmarkTreeNode
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
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more