[][src]Enum git_checks::StatusChange

pub enum StatusChange {
    Added,
    Copied(u8),
    Deleted,
    Modified(Option<u8>),
    Renamed(u8),
    TypeChanged,
    Unmerged,
    Unknown,
}

Ways a file can be changed in a commit.

Variants

Added

The file was added in this commit.

Copied(u8)

The file was copied in this commit with the given similarity index.

Deleted

The file was deleted in this commit.

Modified(Option<u8>)

The file was copied in this commit with an optional similarity index.

Renamed(u8)

The file was renamed in this commit with the given similarity index.

TypeChanged

The path changed type (types include directory, symlinks, and files).

Unmerged

The file is unmerged in the working tree.

Unknown

Git doesn't know what's going on.

Trait Implementations

impl PartialEq<StatusChange> for StatusChange[src]

impl Copy for StatusChange[src]

impl Eq for StatusChange[src]

impl From<char> for StatusChange[src]

impl Clone for StatusChange[src]

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

Performs copy-assignment from source. Read more

impl Debug for StatusChange[src]

Auto Trait Implementations

Blanket Implementations

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> 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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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