athena_rs 3.26.3

Hyper performant polyglot Database driver
//! Summary-metrics contract types for `/debug/schema`.
//!
//! This module owns aggregate metrics extracted from expected-table evaluation
//! and canonical still-needed aggregates.

/// Aggregate metrics extracted from expected-table evaluation output.
pub(super) struct LoggingSchemaDebugSummaryMetrics {
    /// Count of expected tables that were found in observed schema state.
    pub(super) found_table_count: usize,
    /// Count of missing required tables.
    pub(super) required_missing_table_count: usize,
    /// Count of missing optional tables.
    pub(super) optional_missing_table_count: usize,
    /// Count of missing required columns.
    pub(super) required_missing_column_count: usize,
    /// Count of missing optional columns.
    pub(super) optional_missing_column_count: usize,
    /// Count of relation keys with mismatched relation types.
    pub(super) relation_type_mismatch_count: usize,
}