athena_rs 3.26.2

Hyper performant polyglot Database driver
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Health-assessment contract types for `/debug/schema`.
//!
//! This module owns the composed health-assessment payload contract used by
//! summary assembly.

use super::debug_summary_contracts::LoggingSchemaDebugHealthReason;

/// Composed health assessment used by summary payload assembly.
pub(super) struct LoggingSchemaDebugHealthAssessment {
    /// Overall health status (`healthy`, `warning`, `degraded`, or `unhealthy`).
    pub(super) health: String,
    /// Structured reasons that explain why this health status was assigned.
    pub(super) health_reasons: Vec<LoggingSchemaDebugHealthReason>,
}