Enum git2::RepositoryState
source · pub enum RepositoryState {
Clean,
Merge,
Revert,
RevertSequence,
CherryPick,
CherryPickSequence,
Bisect,
Rebase,
RebaseInteractive,
RebaseMerge,
ApplyMailbox,
ApplyMailboxOrRebase,
}
Expand description
A listing of the possible states that a repository can be in.
Variants§
Clean
Merge
Revert
RevertSequence
CherryPick
CherryPickSequence
Bisect
Rebase
RebaseInteractive
RebaseMerge
ApplyMailbox
ApplyMailboxOrRebase
Trait Implementations§
source§impl Clone for RepositoryState
impl Clone for RepositoryState
source§fn clone(&self) -> RepositoryState
fn clone(&self) -> RepositoryState
Returns a copy of the value. Read more
1.0.0 · 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 RepositoryState
impl Debug for RepositoryState
source§impl PartialEq for RepositoryState
impl PartialEq for RepositoryState
source§fn eq(&self, other: &RepositoryState) -> bool
fn eq(&self, other: &RepositoryState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RepositoryState
impl Eq for RepositoryState
impl StructuralEq for RepositoryState
impl StructuralPartialEq for RepositoryState
Auto Trait Implementations§
impl RefUnwindSafe for RepositoryState
impl Send for RepositoryState
impl Sync for RepositoryState
impl Unpin for RepositoryState
impl UnwindSafe for RepositoryState
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