#[non_exhaustive]pub struct Health {
pub status: HealthStatus,
pub unresolved_faults: BTreeMap<HealthFaultKey, HealthFault>,
pub stats: Stats,
pub generation: u64,
pub segments: Vec<SegmentHealth>,
pub pending_docs: u64,
pub graph_coverage: f64,
pub retained_through: Option<i64>,
pub last_maintenance: Option<MaintenanceSummary>,
}Expand description
Version 1 store health extending exact task-09 statistics.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.status: HealthStatusRetained validation state for this Store handle.
unresolved_faults: BTreeMap<HealthFaultKey, HealthFault>Faults retained until their exact artifact scope revalidates.
stats: StatsExact task-09 resource counters.
generation: u64Current active-state generation.
segments: Vec<SegmentHealth>Active and immutable segment health in stable source order.
pending_docs: u64Live acknowledged rows not yet sealed into immutable segments.
graph_coverage: f64Fraction of all alive rows in segments with a published graph. Empty stores report complete coverage.
retained_through: Option<i64>Upper bound of the last explicitly executed retention drop range.
last_maintenance: Option<MaintenanceSummary>Cloneable summary of the last maintenance report.
Trait Implementations§
impl StructuralPartialEq for Health
Auto Trait Implementations§
impl Freeze for Health
impl RefUnwindSafe for Health
impl Send for Health
impl Sync for Health
impl Unpin for Health
impl UnsafeUnpin for Health
impl UnwindSafe for Health
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