[][src]Struct dogear::CompletionOps

pub struct CompletionOps<'t> {
    pub change_guids: Vec<ChangeGuid<'t>>,
    pub apply_remote_items: Vec<ApplyRemoteItem<'t>>,
    pub apply_new_local_structure: Vec<ApplyNewLocalStructure<'t>>,
    pub flag_for_upload: Vec<FlagForUpload<'t>>,
    pub skip_upload: Vec<SkipUpload<'t>>,
    pub flag_as_merged: Vec<FlagAsMerged<'t>>,
    pub upload: Vec<Upload<'t>>,
}

Completion operations to apply to the local tree after a merge. These are represented as separate structs in Vecs instead of enums yielded from an iterator so that consumers can easily chunk them.

Fields

change_guids: Vec<ChangeGuid<'t>>apply_remote_items: Vec<ApplyRemoteItem<'t>>apply_new_local_structure: Vec<ApplyNewLocalStructure<'t>>flag_for_upload: Vec<FlagForUpload<'t>>skip_upload: Vec<SkipUpload<'t>>flag_as_merged: Vec<FlagAsMerged<'t>>upload: Vec<Upload<'t>>

Methods

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

pub fn is_empty(&self) -> bool[src]

Returns true if there are no completion ops to apply.

Trait Implementations

impl<'t> Default for CompletionOps<'t>[src]

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

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

Performs copy-assignment from source. Read more

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

Auto Trait Implementations

impl<'t> Sync for CompletionOps<'t>

impl<'t> Unpin for CompletionOps<'t>

impl<'t> Send for CompletionOps<'t>

impl<'t> UnwindSafe for CompletionOps<'t>

impl<'t> RefUnwindSafe for CompletionOps<'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, 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]