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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SoftwareStateHostEntry
impl Debug for SoftwareStateHostEntry
Source§impl<'de> Deserialize<'de> for SoftwareStateHostEntry
impl<'de> Deserialize<'de> for SoftwareStateHostEntry
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>,
impl Eq for SoftwareStateHostEntry
Source§impl PartialEq for SoftwareStateHostEntry
impl PartialEq for SoftwareStateHostEntry
Source§impl Serialize for SoftwareStateHostEntry
impl Serialize for SoftwareStateHostEntry
impl StructuralPartialEq for SoftwareStateHostEntry
Source§impl WireValidate for SoftwareStateHostEntry
impl WireValidate for SoftwareStateHostEntry
Source§fn wire_validate(&self) -> Result<(), WireValidationError>
fn wire_validate(&self) -> Result<(), WireValidationError>
Auto Trait Implementations§
impl Freeze for SoftwareStateHostEntry
impl RefUnwindSafe for SoftwareStateHostEntry
impl Send for SoftwareStateHostEntry
impl Sync for SoftwareStateHostEntry
impl Unpin for SoftwareStateHostEntry
impl UnsafeUnpin for SoftwareStateHostEntry
impl UnwindSafe for SoftwareStateHostEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.