pub struct SoftwareStateHostEntry {
pub host_id: Uuid,
pub hostname: String,
pub friendly_name: String,
pub installed_version: Option<String>,
pub latest_version: Option<String>,
pub update_available: bool,
pub update_in_progress: bool,
pub release_url: Option<String>,
pub release_notes: Option<String>,
pub update_category: Option<String>,
pub release_date: Option<String>,
pub last_checked_at: Option<String>,
}Expand description
Per-host version data for a software item.
Fields§
§host_id: UuidHost UUID.
hostname: StringHuman-readable hostname.
friendly_name: StringUser-defined display name for the host.
installed_version: Option<String>Currently installed version, if known.
latest_version: Option<String>Latest available version, if known.
update_available: boolWhether an update is available (latest_version > installed_version).
update_in_progress: boolWhether an update is currently pending or in progress for this host-item pair.
Set to true when an update_history record exists with status
Pending or InProgress. Cleared to false once the update
completes or fails. Defaults to false when absent (older controller).
release_url: Option<String>URL to the upstream release page (e.g. GitHub release), if available.
release_notes: Option<String>Release notes or changelog text, if available.
update_category: Option<String>Classification of the update (e.g. "security", "bugfix", "feature", "unknown").
Sourced from host_software_item.update_category. Defaults to "unknown" when absent.
release_date: Option<String>Date when the latest release was published (ISO 8601 date string, e.g. "2025-01-15").
Extracted from latest_release_metadata.published_at. null when metadata is absent.
last_checked_at: Option<String>Timestamp when the installed version was last detected (ISO 8601).
Sourced from host_software_item.installed_version_detected_at. null when never checked.
Trait Implementations§
Source§impl Clone for SoftwareStateHostEntry
impl Clone for SoftwareStateHostEntry
Source§fn clone(&self) -> SoftwareStateHostEntry
fn clone(&self) -> SoftwareStateHostEntry
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more