pub enum SquashMergeOutcome {
Committed,
AlreadyPresentInTarget,
}Expand description
Re-exported squash-merge APIs. Outcome of attempting a squash merge operation.
Variants§
Committed
Squash merge staged changes and created a commit.
AlreadyPresentInTarget
Squash merge staged nothing because changes already exist in target.
Trait Implementations§
Source§impl Clone for SquashMergeOutcome
impl Clone for SquashMergeOutcome
Source§fn clone(&self) -> SquashMergeOutcome
fn clone(&self) -> SquashMergeOutcome
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 SquashMergeOutcome
Source§impl Debug for SquashMergeOutcome
impl Debug for SquashMergeOutcome
impl Eq for SquashMergeOutcome
Source§impl PartialEq for SquashMergeOutcome
impl PartialEq for SquashMergeOutcome
Source§fn eq(&self, other: &SquashMergeOutcome) -> bool
fn eq(&self, other: &SquashMergeOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SquashMergeOutcome
Auto Trait Implementations§
impl Freeze for SquashMergeOutcome
impl RefUnwindSafe for SquashMergeOutcome
impl Send for SquashMergeOutcome
impl Sync for SquashMergeOutcome
impl Unpin for SquashMergeOutcome
impl UnsafeUnpin for SquashMergeOutcome
impl UnwindSafe for SquashMergeOutcome
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