pub struct Drift {
pub ahead: u64,
pub behind: u64,
}Expand description
How far a branch has run from the upstream it tracks.
Fields§
§ahead: u64§behind: u64Trait Implementations§
impl Copy for Drift
impl Eq for Drift
impl StructuralPartialEq for Drift
Auto Trait Implementations§
impl Freeze for Drift
impl RefUnwindSafe for Drift
impl Send for Drift
impl Sync for Drift
impl Unpin for Drift
impl UnsafeUnpin for Drift
impl UnwindSafe for Drift
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