Enum dogear::Content[][src]

pub enum Content {
    Bookmark {
        title: String,
        url_href: String,
    },
    Folder {
        title: String,
    },
    Separator {
        position: i64,
    },
}

Content info for an item in the local or remote tree. This is used to dedupe new local items to remote items that don't exist locally, with different GUIDs and similar content.

  • Bookmarks must have the same title and URL.
  • Queries must have the same title and query URL.
  • Folders and livemarks must have the same title.
  • Separators must have the same position within their parents.

Variants

Fields of Bookmark

Fields of Folder

Fields of Separator

Trait Implementations

impl Debug for Content
[src]

Formats the value using the given formatter. Read more

impl Eq for Content
[src]

impl Hash for Content
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for Content
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Content

impl Sync for Content