use super::*;
#[derive(Clone, Debug, Deserialize, Eq, Getter, New, PartialEq, Serialize)]
pub struct ToolProbeEntry {
pub(crate) name: String,
pub(crate) category: String,
#[get(type(copy))]
pub(crate) available: bool,
pub(crate) detail: String,
pub(crate) required_for: String,
pub(crate) install_hint: String,
}
#[derive(Clone, Debug, Deserialize, Eq, Getter, New, PartialEq, Serialize)]
pub struct DoctorFixResult {
pub(crate) triple: String,
pub(crate) command: String,
#[get(type(copy))]
pub(crate) succeeded: bool,
pub(crate) message: String,
}
#[derive(Clone, Data, Debug, Deserialize, Eq, New, PartialEq, Serialize)]
pub struct FullDoctorReport {
pub(crate) host_os: String,
pub(crate) host_arch: String,
pub(crate) tools: Vec<ToolProbeEntry>,
pub(crate) targets: Vec<TargetCapability>,
#[get(type(copy))]
pub(crate) ready_target_count: usize,
#[get(type(copy))]
pub(crate) total_target_count: usize,
#[new(skip)]
pub(crate) fix_actions: Vec<DoctorFixResult>,
}