pub enum GitIndexStatus {
Unmodified,
Added,
Modified,
Deleted,
Renamed,
Copied,
Conflicted,
}Expand description
Index-side status vocabulary.
Variants§
Unmodified
No index-side change.
Added
Added in the index.
Modified
Modified in the index.
Deleted
Deleted in the index.
Renamed
Renamed in the index.
Copied
Copied in the index.
Conflicted
Unmerged or otherwise conflicted in the index.
Implementations§
Trait Implementations§
Source§impl Clone for GitIndexStatus
impl Clone for GitIndexStatus
Source§fn clone(&self) -> GitIndexStatus
fn clone(&self) -> GitIndexStatus
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 GitIndexStatus
impl Debug for GitIndexStatus
Source§impl Display for GitIndexStatus
impl Display for GitIndexStatus
Source§impl FromStr for GitIndexStatus
impl FromStr for GitIndexStatus
Source§type Err = GitStatusParseError
type Err = GitStatusParseError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<GitIndexStatus, <GitIndexStatus as FromStr>::Err>
fn from_str( value: &str, ) -> Result<GitIndexStatus, <GitIndexStatus as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for GitIndexStatus
impl Hash for GitIndexStatus
Source§impl Ord for GitIndexStatus
impl Ord for GitIndexStatus
Source§fn cmp(&self, other: &GitIndexStatus) -> Ordering
fn cmp(&self, other: &GitIndexStatus) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GitIndexStatus
impl PartialEq for GitIndexStatus
Source§fn eq(&self, other: &GitIndexStatus) -> bool
fn eq(&self, other: &GitIndexStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GitIndexStatus
impl PartialOrd for GitIndexStatus
impl Copy for GitIndexStatus
impl Eq for GitIndexStatus
impl StructuralPartialEq for GitIndexStatus
Auto Trait Implementations§
impl Freeze for GitIndexStatus
impl RefUnwindSafe for GitIndexStatus
impl Send for GitIndexStatus
impl Sync for GitIndexStatus
impl Unpin for GitIndexStatus
impl UnsafeUnpin for GitIndexStatus
impl UnwindSafe for GitIndexStatus
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