pub struct CheckoutDrift {
pub head_before: String,
pub head_after: String,
pub appeared: Vec<String>,
pub resolved: Vec<String>,
pub git_metadata_changed: bool,
pub git_metadata_fields: Vec<String>,
}Expand description
What a validator session changed: HEAD movement plus the porcelain entries gained/lost across the session.
Fields§
§head_before: String§head_after: String§appeared: Vec<String>Porcelain entries present after but not before (the session’s writes).
resolved: Vec<String>Porcelain entries present before but not after (the session reverted or hid a pre-existing dirty state — equally a mutation).
git_metadata_changed: bool.git config/hooks/refs changed — the checkout can look identical
while the plumbing was weaponized.
git_metadata_fields: Vec<String>WHICH metadata surfaces changed (config/hooks/refs/
index-flags/info-exclude) — recorded so a tripwire fire is
diagnosable without reconstructing the window (mission m-83d1ed
fired on metadata alone with no field named).
Implementations§
Trait Implementations§
Source§impl Clone for CheckoutDrift
impl Clone for CheckoutDrift
Source§fn clone(&self) -> CheckoutDrift
fn clone(&self) -> CheckoutDrift
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 CheckoutDrift
impl Debug for CheckoutDrift
impl Eq for CheckoutDrift
Source§impl PartialEq for CheckoutDrift
impl PartialEq for CheckoutDrift
impl StructuralPartialEq for CheckoutDrift
Auto Trait Implementations§
impl Freeze for CheckoutDrift
impl RefUnwindSafe for CheckoutDrift
impl Send for CheckoutDrift
impl Sync for CheckoutDrift
impl Unpin for CheckoutDrift
impl UnsafeUnpin for CheckoutDrift
impl UnwindSafe for CheckoutDrift
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