pub enum GitConflictStatus {
BothAdded,
BothModified,
BothDeleted,
DeletedByOneSide,
}Expand description
Conflict status vocabulary.
Variants§
BothAdded
Both sides added a path.
BothModified
Both sides modified a path.
BothDeleted
Both sides deleted a path.
DeletedByOneSide
One side deleted and the other modified a path.
Implementations§
Trait Implementations§
Source§impl Clone for GitConflictStatus
impl Clone for GitConflictStatus
Source§fn clone(&self) -> GitConflictStatus
fn clone(&self) -> GitConflictStatus
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 GitConflictStatus
impl Debug for GitConflictStatus
Source§impl Display for GitConflictStatus
impl Display for GitConflictStatus
Source§impl FromStr for GitConflictStatus
impl FromStr for GitConflictStatus
Source§type Err = GitStatusParseError
type Err = GitStatusParseError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<GitConflictStatus, <GitConflictStatus as FromStr>::Err>
fn from_str( value: &str, ) -> Result<GitConflictStatus, <GitConflictStatus as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for GitConflictStatus
impl Hash for GitConflictStatus
Source§impl Ord for GitConflictStatus
impl Ord for GitConflictStatus
Source§fn cmp(&self, other: &GitConflictStatus) -> Ordering
fn cmp(&self, other: &GitConflictStatus) -> 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 GitConflictStatus
impl PartialEq for GitConflictStatus
Source§fn eq(&self, other: &GitConflictStatus) -> bool
fn eq(&self, other: &GitConflictStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GitConflictStatus
impl PartialOrd for GitConflictStatus
impl Copy for GitConflictStatus
impl Eq for GitConflictStatus
impl StructuralPartialEq for GitConflictStatus
Auto Trait Implementations§
impl Freeze for GitConflictStatus
impl RefUnwindSafe for GitConflictStatus
impl Send for GitConflictStatus
impl Sync for GitConflictStatus
impl Unpin for GitConflictStatus
impl UnsafeUnpin for GitConflictStatus
impl UnwindSafe for GitConflictStatus
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