pub struct DoctorOutput {
pub schema_version: String,
pub emitted_at: DateTime<Utc>,
pub ok: bool,
pub checks: Vec<DoctorCheck>,
pub cache_stats: Option<CacheStats>,
}Expand description
Doctor output structure for JSON emission (schema v1)
Fields§
§schema_version: StringSchema version for this doctor format
emitted_at: DateTime<Utc>RFC3339 UTC timestamp when the doctor output was emitted
ok: boolOverall health status (true if all checks pass or warn, false if any fail)
checks: Vec<DoctorCheck>Health checks performed (sorted by name before emission)
cache_stats: Option<CacheStats>Cache statistics (wired from InsightCache)
Trait Implementations§
Source§impl Clone for DoctorOutput
impl Clone for DoctorOutput
Source§fn clone(&self) -> DoctorOutput
fn clone(&self) -> DoctorOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DoctorOutput
impl Debug for DoctorOutput
Source§impl<'de> Deserialize<'de> for DoctorOutput
impl<'de> Deserialize<'de> for DoctorOutput
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 DoctorOutput
impl RefUnwindSafe for DoctorOutput
impl Send for DoctorOutput
impl Sync for DoctorOutput
impl Unpin for DoctorOutput
impl UnsafeUnpin for DoctorOutput
impl UnwindSafe for DoctorOutput
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