[][src]Enum git2::Delta

pub enum Delta {
    Unmodified,
    Added,
    Deleted,
    Modified,
    Renamed,
    Copied,
    Ignored,
    Untracked,
    Typechange,
    Unreadable,
    Conflicted,
}

What type of change is described by a DiffDelta?

Variants

Unmodified

No changes

Added

Entry does not exist in old version

Deleted

Entry does not exist in new version

Modified

Entry content changed between old and new

Renamed

Entry was renamed between old and new

Copied

Entry was copied from another old entry

Ignored

Entry is ignored item in workdir

Untracked

Entry is untracked item in workdir

Typechange

Type of entry changed between old and new

Unreadable

Entry is unreadable

Conflicted

Entry in the index is conflicted

Trait Implementations

impl Clone for Delta[src]

impl Copy for Delta[src]

impl Debug for Delta[src]

impl Eq for Delta[src]

impl PartialEq<Delta> for Delta[src]

impl StructuralEq for Delta[src]

impl StructuralPartialEq for Delta[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.