pub struct IndexOutcome {
pub repos_indexed: usize,
pub repos_skipped: usize,
pub files_indexed: usize,
pub files_unchanged: usize,
pub files_purged: usize,
pub changed: bool,
pub semantic: bool,
pub degraded: Option<String>,
}Expand description
Outcome of build_index.
Fields§
§repos_indexed: usize§repos_skipped: usize§files_indexed: usize§files_unchanged: usize§files_purged: usize§changed: boolTrue when at least one file was (re)indexed or purged this run.
semantic: boolTrue when semantic embeddings were written.
degraded: Option<String>Set when semantic was requested but unavailable.
Trait Implementations§
Source§impl Clone for IndexOutcome
impl Clone for IndexOutcome
Source§fn clone(&self) -> IndexOutcome
fn clone(&self) -> IndexOutcome
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 IndexOutcome
impl Debug for IndexOutcome
Source§impl Default for IndexOutcome
impl Default for IndexOutcome
Source§fn default() -> IndexOutcome
fn default() -> IndexOutcome
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IndexOutcome
impl RefUnwindSafe for IndexOutcome
impl Send for IndexOutcome
impl Sync for IndexOutcome
impl Unpin for IndexOutcome
impl UnsafeUnpin for IndexOutcome
impl UnwindSafe for IndexOutcome
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