pub struct ServiceHostBatchUpdateTriggerPayload {
pub tenant_id: Uuid,
pub host_id: Uuid,
pub actor_service_id: Uuid,
pub security_only: bool,
}Expand description
Service → Controller: trigger a batch update of all outdated software items on a host.
Sent when a Home Assistant user presses “Install” on a host update
entity. The controller resolves the latest versions for all outdated items
at trigger time and dispatches a ExecuteBatchUpdate to the agent.
Fields§
§tenant_id: UuidTenant UUID (for validation).
host_id: UuidHost whose items should be updated.
actor_service_id: UuidService instance UUID that initiated the trigger (used as actor_id).
security_only: boolWhen true, only items with update_category = "security" are updated.
Trait Implementations§
Source§impl Clone for ServiceHostBatchUpdateTriggerPayload
impl Clone for ServiceHostBatchUpdateTriggerPayload
Source§fn clone(&self) -> ServiceHostBatchUpdateTriggerPayload
fn clone(&self) -> ServiceHostBatchUpdateTriggerPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for ServiceHostBatchUpdateTriggerPayload
impl<'de> Deserialize<'de> for ServiceHostBatchUpdateTriggerPayload
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ServiceHostBatchUpdateTriggerPayload
impl StructuralPartialEq for ServiceHostBatchUpdateTriggerPayload
Auto Trait Implementations§
impl Freeze for ServiceHostBatchUpdateTriggerPayload
impl RefUnwindSafe for ServiceHostBatchUpdateTriggerPayload
impl Send for ServiceHostBatchUpdateTriggerPayload
impl Sync for ServiceHostBatchUpdateTriggerPayload
impl Unpin for ServiceHostBatchUpdateTriggerPayload
impl UnsafeUnpin for ServiceHostBatchUpdateTriggerPayload
impl UnwindSafe for ServiceHostBatchUpdateTriggerPayload
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
Mutably borrows from an owned value. Read more
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
Compare self to
key and return true if they are equal.