athena_rs 3.18.0

Hyper performant polyglot Database driver
Documentation
//! Intermediate debug report component contracts for `/debug/schema`.
//!
//! This module owns the staged diagnostics data contract passed from component
//! assembly into final payload output.

use super::debug_evaluation::ExpectedTablesEvaluation;
use super::debug_observed_tables::ObservedTablesMap;
use super::debug_still_needed::LoggingSchemaDebugStillNeeded;
use super::debug_summary::LoggingSchemaDebugSummary;

/// Intermediate diagnostics parts required for final debug report output assembly.
pub(super) struct LoggingSchemaDebugReportComponents {
    /// Observed relation/column mapping keyed by `schema.table`.
    pub(super) observed_map: ObservedTablesMap,
    /// Expected-table evaluation output from observed schema state.
    pub(super) evaluation: ExpectedTablesEvaluation,
    /// Canonical unresolved-requirement aggregates from expected-table evaluation.
    pub(super) still_needed: LoggingSchemaDebugStillNeeded,
    /// Aggregated diagnostics summary derived from evaluation output.
    pub(super) summary: LoggingSchemaDebugSummary,
}