[][src]Struct git_checks::DiffInfo

pub struct DiffInfo {
    pub old_mode: String,
    pub old_blob: CommitId,
    pub new_mode: String,
    pub new_blob: CommitId,
    pub name: FileName,
    pub status: StatusChange,
}

Information about a file that changed in a commit.

Fields

old_mode: String

The mode of the file in the parent commit.

old_blob: CommitId

The blob object of the file in the parent commit.

new_mode: String

The mode of the file in the current commit.

new_blob: CommitId

The blob object of the file in the current commit.

name: FileName

The name of the file in the current commit.

status: StatusChange

The status mode of the file.

Trait Implementations

impl Debug for DiffInfo
[src]

Auto Trait Implementations

impl Send for DiffInfo

impl Sync for DiffInfo

Blanket Implementations

impl<T> From for T
[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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