garrison 0.7.2

Garrison - 面向 Rust 生态的一站式身份认证鉴权框架
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Copyright (c) 2026 Kirky.X. All rights reserved.
//! See LICENSE for full license text.

//! `HealthReport` 实现块。
//!
//! 从 `registry.rs` 拆分而出(规则 25:单一职责)。

use super::{HealthReport, HealthStatus};

impl HealthReport {
    /// 创建空报告(无检查项),整体状态为 Healthy。
    pub fn empty() -> Self {
        Self {
            overall: HealthStatus::Healthy,
            checks: Vec::new(),
        }
    }
}