pub struct HealthCheckResult {
pub status: HealthStatus,
pub components: HashMap<String, ComponentHealth>,
pub timestamp: SystemTime,
pub score: u8,
}Expand description
Health check result
Fields§
§status: HealthStatusOverall health status
components: HashMap<String, ComponentHealth>Individual component health
timestamp: SystemTimeHealth check timestamp
score: u8Overall score (0-100)
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