pub struct HealthReport {Show 13 fields
pub database_path: String,
pub database_exists: bool,
pub catalog_database_path: String,
pub catalog_database_exists: bool,
pub install_root_source: String,
pub install_root: String,
pub install_root_exists: bool,
pub packages_dir: String,
pub diagnostics: Vec<DiagnosisResult>,
pub recovery_findings: Vec<RecoveryFinding>,
pub scan_timings: HealthScanTimings,
pub scan_duration: Duration,
pub error_count: usize,
}Expand description
The full health report emitted by the doctor workflow.
Fields§
§database_path: StringFilesystem path to the Winbrew database.
database_exists: boolWhether the database path exists.
catalog_database_path: StringFilesystem path to the catalog database.
catalog_database_exists: boolWhether the catalog database path exists.
install_root_source: StringWhere the install root came from in configuration resolution.
install_root: StringFilesystem path to the install root.
install_root_exists: boolWhether the install root exists.
packages_dir: StringDisplay path for the packages directory.
diagnostics: Vec<DiagnosisResult>Sorted diagnostics collected during the scan.
recovery_findings: Vec<RecoveryFinding>Recovery findings derived from the diagnostics.
scan_timings: HealthScanTimingsTiming breakdown for the scan pipeline.
scan_duration: DurationTotal scan duration.
error_count: usizeCount of diagnostics with error severity.
Trait Implementations§
Source§impl Clone for HealthReport
impl Clone for HealthReport
Source§fn clone(&self) -> HealthReport
fn clone(&self) -> HealthReport
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 HealthReport
impl Debug for HealthReport
Source§impl PartialEq for HealthReport
impl PartialEq for HealthReport
Source§impl Serialize for HealthReport
impl Serialize for HealthReport
impl Eq for HealthReport
impl StructuralPartialEq for HealthReport
Auto Trait Implementations§
impl Freeze for HealthReport
impl RefUnwindSafe for HealthReport
impl Send for HealthReport
impl Sync for HealthReport
impl Unpin for HealthReport
impl UnwindSafe for HealthReport
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