pub enum InProgressGitOperation {
CherryPick,
Merge,
Rebase,
Revert,
}Expand description
Git operation metadata that marks a worktree as unsafe for branch pushes.
Variants§
CherryPick
A cherry-pick is in progress.
Merge
A merge is in progress.
Rebase
A rebase is in progress.
Revert
A revert is in progress.
Implementations§
Trait Implementations§
Source§impl Clone for InProgressGitOperation
impl Clone for InProgressGitOperation
Source§fn clone(&self) -> InProgressGitOperation
fn clone(&self) -> InProgressGitOperation
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 moreimpl Copy for InProgressGitOperation
Source§impl Debug for InProgressGitOperation
impl Debug for InProgressGitOperation
impl Eq for InProgressGitOperation
Source§impl PartialEq for InProgressGitOperation
impl PartialEq for InProgressGitOperation
impl StructuralPartialEq for InProgressGitOperation
Auto Trait Implementations§
impl Freeze for InProgressGitOperation
impl RefUnwindSafe for InProgressGitOperation
impl Send for InProgressGitOperation
impl Sync for InProgressGitOperation
impl Unpin for InProgressGitOperation
impl UnsafeUnpin for InProgressGitOperation
impl UnwindSafe for InProgressGitOperation
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