[][src]Struct dogear::ApplyRemoteItem

pub struct ApplyRemoteItem<'t> {
    pub merged_node: &'t MergedNode<'t>,
    pub level: usize,
}

A completion op to insert a new remote item into the local tree, or apply synced changes to an existing item.

Fields

merged_node: &'t MergedNode<'t>level: usize

Methods

impl<'t> ApplyRemoteItem<'t>[src]

pub fn remote_node(&self) -> &'t Node<'t>[src]

Returns the remote node for this completion op. Panics if the remote node isn't set, as we should never emit an ApplyRemoteItem op in that case.

Trait Implementations

impl<'t> Copy for ApplyRemoteItem<'t>[src]

impl<'t> Clone for ApplyRemoteItem<'t>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<'t> Debug for ApplyRemoteItem<'t>[src]

impl<'t> Display for ApplyRemoteItem<'t>[src]

Auto Trait Implementations

impl<'t> Sync for ApplyRemoteItem<'t>

impl<'t> Unpin for ApplyRemoteItem<'t>

impl<'t> Send for ApplyRemoteItem<'t>

impl<'t> UnwindSafe for ApplyRemoteItem<'t>

impl<'t> RefUnwindSafe for ApplyRemoteItem<'t>

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> ToString for T where
    T: Display + ?Sized
[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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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