pub struct VersionCheckResult {
pub software_item_id: Uuid,
pub installed_version: Option<String>,
pub latest_version: Option<String>,
pub error: Option<String>,
pub update_category: UpdateCategory,
pub host_software_item_id: Option<Uuid>,
pub installed_display_version: Option<String>,
}Expand description
Result of a single version check.
Fields§
§software_item_id: UuidSoftware item ID.
installed_version: Option<String>Detected installed version, if any.
latest_version: Option<String>Latest available version from the package index, if resolved locally by the agent (e.g., Homebrew). Absent for plugins whose latest version is resolved on the controller side.
error: Option<String>Error message if detection failed.
update_category: UpdateCategoryClassification of the available update (e.g. security, bugfix).
Defaults to Unknown when the plugin cannot classify the update.
host_software_item_id: Option<Uuid>Host software item ID for routing results to the host_software_items table.
Mirrors the value from the corresponding VersionCheckAssignment.
installed_display_version: Option<String>Human-readable installed version for display when installed_version
is opaque (e.g. a Docker SHA256 digest → the image publish date).
Set by the agent from BatchDetectResult.display_version.
None when the plugin does not provide a display version.
Trait Implementations§
Source§impl Clone for VersionCheckResult
impl Clone for VersionCheckResult
Source§fn clone(&self) -> VersionCheckResult
fn clone(&self) -> VersionCheckResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more