Enum git_checks::StatusChange [−][src]
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
AddedThe file was added in this commit.
Copied(u8)The file was copied in this commit with the given similarity index.
DeletedThe 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.
TypeChangedThe path changed type (types include directory, symlinks, and files).
UnmergedThe file is unmerged in the working tree.
UnknownGit doesn't know what's going on.
Trait Implementations
impl Debug for StatusChange[src]
impl Debug for StatusChangefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for StatusChange[src]
impl Clone for StatusChangefn clone(&self) -> StatusChange[src]
fn clone(&self) -> StatusChangeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for StatusChange[src]
impl Copy for StatusChangeimpl PartialEq for StatusChange[src]
impl PartialEq for StatusChangefn eq(&self, other: &StatusChange) -> bool[src]
fn eq(&self, other: &StatusChange) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &StatusChange) -> bool[src]
fn ne(&self, other: &StatusChange) -> boolThis method tests for !=.
impl Eq for StatusChange[src]
impl Eq for StatusChangeimpl From<char> for StatusChange[src]
impl From<char> for StatusChangeAuto Trait Implementations
impl Send for StatusChange
impl Send for StatusChangeimpl Sync for StatusChange
impl Sync for StatusChange