pub struct MergeResult {
pub head: Option<Oid>,
pub fast_forward: bool,
pub conflicts: Vec<String>,
}Expand description
Result returned from merge operations.
Fields§
§head: Option<Oid>The resulting HEAD OID when available.
fast_forward: boolWhether the merge completed as a fast-forward.
conflicts: Vec<String>Conflicting paths produced by the merge.
Trait Implementations§
Source§impl Clone for MergeResult
impl Clone for MergeResult
Source§fn clone(&self) -> MergeResult
fn clone(&self) -> MergeResult
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 moreSource§impl Debug for MergeResult
impl Debug for MergeResult
Source§impl Default for MergeResult
impl Default for MergeResult
Source§fn default() -> MergeResult
fn default() -> MergeResult
Returns the “default value” for a type. Read more
impl Eq for MergeResult
Source§impl PartialEq for MergeResult
impl PartialEq for MergeResult
Source§fn eq(&self, other: &MergeResult) -> bool
fn eq(&self, other: &MergeResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MergeResult
Auto Trait Implementations§
impl Freeze for MergeResult
impl RefUnwindSafe for MergeResult
impl Send for MergeResult
impl Sync for MergeResult
impl Unpin for MergeResult
impl UnsafeUnpin for MergeResult
impl UnwindSafe for MergeResult
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