pub struct HealthCheckResult {
pub status: HealthStatus,
pub checks: HashMap<String, HealthStatus>,
pub version: Option<String>,
pub timestamp: String,
}Expand description
Overall health check result
Fields§
§status: HealthStatusOverall status
checks: HashMap<String, HealthStatus>Individual component checks
version: Option<String>Application version (if provided)
timestamp: StringTimestamp of check (ISO 8601)
Trait Implementations§
Source§impl Debug for HealthCheckResult
impl Debug for HealthCheckResult
Source§impl<'de> Deserialize<'de> for HealthCheckResult
impl<'de> Deserialize<'de> for HealthCheckResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HealthCheckResult
impl RefUnwindSafe for HealthCheckResult
impl Send for HealthCheckResult
impl Sync for HealthCheckResult
impl Unpin for HealthCheckResult
impl UnwindSafe for HealthCheckResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more