pub struct RefCheck {
pub matched: usize,
pub ahead: usize,
pub disagreements: Vec<RefDisagreement>,
}Expand description
How one repository’s refs compare with the refs a view names for it.
Fields§
§matched: usizeRefs the view names that the copy holds at the same oid.
ahead: usizeRefs the copy holds that the view does not name. Benign by itself; see the module docs on why the check runs in one direction.
disagreements: Vec<RefDisagreement>Refs the view names that the copy does not hold at that oid, in refname order.
Trait Implementations§
impl Eq for RefCheck
impl StructuralPartialEq for RefCheck
Auto Trait Implementations§
impl Freeze for RefCheck
impl RefUnwindSafe for RefCheck
impl Send for RefCheck
impl Sync for RefCheck
impl Unpin for RefCheck
impl UnsafeUnpin for RefCheck
impl UnwindSafe for RefCheck
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