[−][src]Struct dogear::Item
An item in a local or remote bookmark tree.
Fields
guid: Guid
kind: Kind
age: i64
needs_merge: bool
validity: Validity
Methods
impl Item
[src]
pub fn new(guid: Guid, kind: Kind) -> Item
[src]
Creates an item with the given kind.
pub fn is_folder(&self) -> bool
[src]
Indicates if the item is a folder. Only folders are allowed to have children.
pub fn has_compatible_kind(&self, remote_node: &Item) -> bool
[src]
Indicates if the item can be merged with another item. Only items with compatible kinds can be merged.
Trait Implementations
impl PartialEq<Item> for Item
[src]
impl Eq for Item
[src]
impl Display for Item
[src]
impl Debug for Item
[src]
Auto Trait Implementations
impl Sync for Item
impl Send for Item
impl Unpin for Item
impl RefUnwindSafe for Item
impl UnwindSafe for Item
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,