pub struct IndexStatus {
pub present: bool,
pub readable: bool,
pub stale: Vec<String>,
}Expand description
Health of the search index, consumed by repograph doctor.
Fields§
§present: boolThe index database file exists.
readable: boolThe index opened and matched this build’s schema.
stale: Vec<String>Repos that are missing from the index or stale relative to their HEAD.
Trait Implementations§
Source§impl Clone for IndexStatus
impl Clone for IndexStatus
Source§fn clone(&self) -> IndexStatus
fn clone(&self) -> IndexStatus
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 IndexStatus
impl Debug for IndexStatus
Source§impl Default for IndexStatus
impl Default for IndexStatus
Source§fn default() -> IndexStatus
fn default() -> IndexStatus
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IndexStatus
impl RefUnwindSafe for IndexStatus
impl Send for IndexStatus
impl Sync for IndexStatus
impl Unpin for IndexStatus
impl UnsafeUnpin for IndexStatus
impl UnwindSafe for IndexStatus
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