use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct HealthStatus {
pub healthy: bool,
pub message: Option<String>,
pub latency_ms: Option<u64>,
}
#[async_trait::async_trait]
pub trait HealthCheck: Send + Sync {
async fn check_health(&self) -> HealthStatus;
}