pub struct VanishedScan {
pub vanished: Vec<VanishedFile>,
pub commits_walked: u32,
pub truncated: bool,
pub anomalies: Vec<String>,
}Expand description
Result of a vanished-file scan
Fields§
§vanished: Vec<VanishedFile>Vanished files, ordered newest-deletion-first (the first entry’s
last_seen_sha is the natural group-level reconstruction commit)
commits_walked: u32Commits visited on the first-parent chain
truncated: boolTrue when the vanished_max_commits cap was hit (results may be partial)
anomalies: Vec<String>Soft anomalies (e.g. rename cycle) — caller maps these to diagnostics
Trait Implementations§
Source§impl Debug for VanishedScan
impl Debug for VanishedScan
Source§impl Default for VanishedScan
impl Default for VanishedScan
Source§fn default() -> VanishedScan
fn default() -> VanishedScan
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VanishedScan
impl RefUnwindSafe for VanishedScan
impl Send for VanishedScan
impl Sync for VanishedScan
impl Unpin for VanishedScan
impl UnsafeUnpin for VanishedScan
impl UnwindSafe for VanishedScan
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more