pub(crate) struct IndexRefreshRequired {
pub(crate) project_root: String,
pub(crate) status: IndexReadStatus,
pub(crate) reason: IndexRefreshReason,
pub(crate) scope: IndexRefreshScope,
pub(crate) changed: usize,
pub(crate) added: usize,
pub(crate) removed: usize,
pub(crate) modified: usize,
pub(crate) sample_paths: Vec<String>,
}Expand description
Bounded typed report returned before a stale indexed read can execute.
Fields§
§project_root: StringCanonical selected project root for a reusable recovery call.
status: IndexReadStatusStable freshness state for adapters.
reason: IndexRefreshReasonWhy current saved source differs from the index.
scope: IndexRefreshScopeSafe recovery scope.
changed: usizeTotal added, removed, or modified paths.
added: usizeNewly visible paths.
removed: usizePaths no longer visible under current source and ignore policy.
modified: usizeExisting paths whose source or structural identity changed.
sample_paths: Vec<String>Deterministic bounded path sample for agent recovery.
Trait Implementations§
Source§impl Clone for IndexRefreshRequired
impl Clone for IndexRefreshRequired
Source§fn clone(&self) -> IndexRefreshRequired
fn clone(&self) -> IndexRefreshRequired
Returns a duplicate of the value. Read more
1.0.0 · 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 IndexRefreshRequired
impl Debug for IndexRefreshRequired
Source§impl Display for IndexRefreshRequired
impl Display for IndexRefreshRequired
Source§impl PartialEq for IndexRefreshRequired
impl PartialEq for IndexRefreshRequired
Source§impl Serialize for IndexRefreshRequired
impl Serialize for IndexRefreshRequired
impl Eq for IndexRefreshRequired
impl StructuralPartialEq for IndexRefreshRequired
Auto Trait Implementations§
impl Freeze for IndexRefreshRequired
impl RefUnwindSafe for IndexRefreshRequired
impl Send for IndexRefreshRequired
impl Sync for IndexRefreshRequired
impl Unpin for IndexRefreshRequired
impl UnwindSafe for IndexRefreshRequired
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of [
ToCompactString::to_compact_string()] Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString]. Read more