pub enum CommitAction {
CheckoutDetached,
CreateBranchHere(String),
CherryPick,
Revert,
RebaseOnto,
ResetSoft,
ResetMixed,
ResetHard,
CreateTag(String),
CreateAnnotatedTag(String, String),
}Expand description
A commit action ready to execute — variant carries all data needed.
Variants§
CheckoutDetached
CreateBranchHere(String)
CherryPick
Revert
RebaseOnto
ResetSoft
ResetMixed
ResetHard
CreateTag(String)
CreateAnnotatedTag(String, String)
Implementations§
Source§impl CommitAction
impl CommitAction
Trait Implementations§
Source§impl Clone for CommitAction
impl Clone for CommitAction
Source§fn clone(&self) -> CommitAction
fn clone(&self) -> CommitAction
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for CommitAction
impl RefUnwindSafe for CommitAction
impl Send for CommitAction
impl Sync for CommitAction
impl Unpin for CommitAction
impl UnsafeUnpin for CommitAction
impl UnwindSafe for CommitAction
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