Enum git2::RebaseOperationType [−][src]
A rebase operation
Describes a single instruction/operation to be performed during the rebase.
Variants
The given commit is to be cherry-picked. The client should commit the changes and continue if there are no conflicts.
The given commit is to be cherry-picked, but the client should prompt the user to provide an updated commit message.
The given commit is to be cherry-picked, but the client should stop to allow the user to edit the changes before committing them.
The given commit is to be squashed into the previous commit. The commit message will be merged with the previous message.
The given commit is to be squashed into the previous commit. The commit message from this commit will be discarded.
No commit will be cherry-picked. The client should run the given command and (if successful) continue.
Implementations
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 Debug for RebaseOperationType
[src]
impl PartialEq<RebaseOperationType> for RebaseOperationType
[src]
fn eq(&self, other: &RebaseOperationType) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for RebaseOperationType
[src]
Auto Trait Implementations
impl RefUnwindSafe for RebaseOperationType
impl Send for RebaseOperationType
impl Sync for RebaseOperationType
impl Unpin for RebaseOperationType
impl UnwindSafe for RebaseOperationType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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.
pub 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>,