pub struct MergeRecord {
pub merge: String,
pub reverted_by: Option<String>,
pub distance: Option<usize>,
}Expand description
One merge and whether history later took it back.
Fields§
§merge: StringThe merge commit’s object id.
reverted_by: Option<String>The reverting commit, when one was found inside the window.
distance: Option<usize>How many commits after the merge the revert landed. None when
there was no revert.
Trait Implementations§
Source§impl Clone for MergeRecord
impl Clone for MergeRecord
Source§fn clone(&self) -> MergeRecord
fn clone(&self) -> MergeRecord
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 MergeRecord
impl Debug for MergeRecord
Source§impl PartialEq for MergeRecord
impl PartialEq for MergeRecord
Source§fn eq(&self, other: &MergeRecord) -> bool
fn eq(&self, other: &MergeRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MergeRecord
impl StructuralPartialEq for MergeRecord
Auto Trait Implementations§
impl Freeze for MergeRecord
impl RefUnwindSafe for MergeRecord
impl Send for MergeRecord
impl Sync for MergeRecord
impl Unpin for MergeRecord
impl UnsafeUnpin for MergeRecord
impl UnwindSafe for MergeRecord
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