[−][src]Enum git2::RebaseOperationType
A rebase operation
Describes a single instruction/operation to be performed during the rebase.
Variants
PickThe given commit is to be cherry-picked. The client should commit the changes and continue if there are no conflicts.
RewordThe given commit is to be cherry-picked, but the client should prompt the user to provide an updated commit message.
EditThe given commit is to be cherry-picked, but the client should stop to allow the user to edit the changes before committing them.
SquashThe given commit is to be squashed into the previous commit. The commit message will be merged with the previous message.
FixupThe given commit is to be squashed into the previous commit. The commit message from this commit will be discarded.
ExecNo commit will be cherry-picked. The client should run the given command and (if successful) continue.
Methods
impl RebaseOperationType[src]
pub fn from_raw(raw: git_rebase_operation_t) -> Option<RebaseOperationType>[src]
Convert from the int into an enum. Returns None if invalid.
Trait Implementations
impl PartialEq<RebaseOperationType> for RebaseOperationType[src]
fn eq(&self, other: &RebaseOperationType) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Debug for RebaseOperationType[src]
Auto Trait Implementations
impl Unpin for RebaseOperationType
impl Send for RebaseOperationType
impl Sync for RebaseOperationType
impl RefUnwindSafe for RebaseOperationType
impl UnwindSafe for RebaseOperationType
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,