[][src]Struct places::storage::bookmarks::RawBookmark

pub(crate) struct RawBookmark {
    pub place_id: Option<RowId>,
    pub row_id: RowId,
    pub bookmark_type: BookmarkType,
    pub parent_id: Option<RowId>,
    pub parent_guid: Option<SyncGuid>,
    pub position: u32,
    pub title: Option<String>,
    pub url: Option<Url>,
    pub date_added: Timestamp,
    pub date_modified: Timestamp,
    pub guid: SyncGuid,
    pub sync_status: SyncStatus,
    pub sync_change_counter: u32,
    pub child_count: u32,
    pub grandparent_id: Option<RowId>,
}

A "raw" bookmark - a representation of the row and some summary fields.

Fields

place_id: Option<RowId>row_id: RowIdbookmark_type: BookmarkTypeparent_id: Option<RowId>parent_guid: Option<SyncGuid>position: u32title: Option<String>url: Option<Url>date_added: Timestampdate_modified: Timestampguid: SyncGuidsync_status: SyncStatussync_change_counter: u32child_count: u32grandparent_id: Option<RowId>

Implementations

impl RawBookmark[src]

pub fn from_row(row: &Row<'_>) -> Result<Self>[src]

Trait Implementations

impl Debug for RawBookmark[src]

impl From<RawBookmark> for PublicNode[src]

Auto Trait Implementations

impl RefUnwindSafe for RawBookmark

impl Send for RawBookmark

impl Sync for RawBookmark

impl Unpin for RawBookmark

impl UnwindSafe for RawBookmark

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,