pub struct HostPackageSummary {
pub host_id: Uuid,
pub hostname: String,
pub friendly_name: String,
pub pending_count: u32,
pub security_pending_count: u32,
pub total_count: u32,
pub update_in_progress: bool,
pub bugfix_count: u32,
pub feature_count: u32,
}Expand description
Per-host aggregate summary of unpinned (unfeatured) software items.
Included in SoftwareStatesPayload to surface overall update
status per host to Home Assistant via a single update entity per host.
Fields§
§host_id: UuidHost UUID.
hostname: StringHuman-readable hostname.
friendly_name: StringUser-defined display name for the host.
pending_count: u32Count of items where installed_version != latest_version (both known).
security_pending_count: u32Count of items where update_category = "security" AND versions differ.
Used to drive the per-host security updates entity in Home Assistant.
total_count: u32Total count of enabled, non-deactivated unfeatured items for this host.
update_in_progress: boolWhether a batch update is currently pending or in progress for this host.
bugfix_count: u32Count of pending packages where update_category = "bugfix".
Defaults to 0 when absent (older controller that does not compute this field).
feature_count: u32Count of pending packages where update_category = "feature".
Defaults to 0 when absent (older controller that does not compute this field).
Trait Implementations§
Source§impl Clone for HostPackageSummary
impl Clone for HostPackageSummary
Source§fn clone(&self) -> HostPackageSummary
fn clone(&self) -> HostPackageSummary
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 HostPackageSummary
impl Debug for HostPackageSummary
Source§impl<'de> Deserialize<'de> for HostPackageSummary
impl<'de> Deserialize<'de> for HostPackageSummary
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 HostPackageSummary
Source§impl PartialEq for HostPackageSummary
impl PartialEq for HostPackageSummary
Source§impl Serialize for HostPackageSummary
impl Serialize for HostPackageSummary
impl StructuralPartialEq for HostPackageSummary
Source§impl WireValidate for HostPackageSummary
impl WireValidate for HostPackageSummary
Source§fn wire_validate(&self) -> Result<(), WireValidationError>
fn wire_validate(&self) -> Result<(), WireValidationError>
Auto Trait Implementations§
impl Freeze for HostPackageSummary
impl RefUnwindSafe for HostPackageSummary
impl Send for HostPackageSummary
impl Sync for HostPackageSummary
impl Unpin for HostPackageSummary
impl UnsafeUnpin for HostPackageSummary
impl UnwindSafe for HostPackageSummary
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.