pub enum StatusKind {
Unmodified,
Modified,
Added,
Deleted,
Renamed,
Copied,
Unmerged,
Untracked,
Ignored,
TypeChanged,
Other(char),
}Available on crate feature
parse only.Expand description
Classification of a status character.
Variants§
Unmodified
Unmodified (' ').
Modified
Modified (M).
Added
Added (A).
Deleted
Deleted (D).
Renamed
Renamed (R).
Copied
Copied (C).
Unmerged
Unmerged (U).
Untracked
Untracked (?).
Ignored
Ignored (!).
TypeChanged
Type-changed (T).
Other(char)
Some other character not recognized.
Trait Implementations§
Source§impl Clone for StatusKind
impl Clone for StatusKind
Source§fn clone(&self) -> StatusKind
fn clone(&self) -> StatusKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StatusKind
impl Debug for StatusKind
Source§impl<'de> Deserialize<'de> for StatusKind
impl<'de> Deserialize<'de> for StatusKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<char> for StatusKind
impl From<char> for StatusKind
Source§impl PartialEq for StatusKind
impl PartialEq for StatusKind
Source§fn eq(&self, other: &StatusKind) -> bool
fn eq(&self, other: &StatusKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StatusKind
impl Serialize for StatusKind
impl Copy for StatusKind
impl Eq for StatusKind
impl StructuralPartialEq for StatusKind
Auto Trait Implementations§
impl Freeze for StatusKind
impl RefUnwindSafe for StatusKind
impl Send for StatusKind
impl Sync for StatusKind
impl Unpin for StatusKind
impl UnsafeUnpin for StatusKind
impl UnwindSafe for StatusKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more