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
sourceimpl Clone for RepositoryState
impl Clone for RepositoryState
sourcefn clone(&self) -> RepositoryState
fn clone(&self) -> RepositoryState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RepositoryState
impl Debug for RepositoryState
sourceimpl PartialEq<RepositoryState> for RepositoryState
impl PartialEq<RepositoryState> for RepositoryState
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more