//! Types for the `/api/health/checks/*` endpoints.
use Deserialize;
/// Result of a health check, as returned by `GET /api/health/checks/*`.
///
/// A passing check responds with HTTP 200 and `{"status": "ok"}`. A
/// failing check responds with HTTP 503 and a JSON body describing the
/// failure; the client surfaces that as [`crate::Error::Api`], so this
/// struct is only ever produced for passing checks.