pub struct ServiceUpdateTriggerPayload {
pub tenant_id: Uuid,
pub software_item_id: Uuid,
pub host_id: Uuid,
pub to_version: String,
pub actor_service_id: Uuid,
}Expand description
Service -> Controller: request to trigger a software update.
Sent when a Home Assistant user presses “Install” on an update entity. The controller validates and dispatches the update to the appropriate agent.
Fields§
§tenant_id: UuidTenant UUID (for validation).
software_item_id: UuidSoftware item to update.
host_id: UuidHost to update on.
to_version: StringTarget version to install.
actor_service_id: UuidService instance UUID that initiated the trigger (used as actor_id).
Trait Implementations§
Source§impl Clone for ServiceUpdateTriggerPayload
impl Clone for ServiceUpdateTriggerPayload
Source§fn clone(&self) -> ServiceUpdateTriggerPayload
fn clone(&self) -> ServiceUpdateTriggerPayload
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 Debug for ServiceUpdateTriggerPayload
impl Debug for ServiceUpdateTriggerPayload
Source§impl<'de> Deserialize<'de> for ServiceUpdateTriggerPayload
impl<'de> Deserialize<'de> for ServiceUpdateTriggerPayload
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 ServiceUpdateTriggerPayload
impl StructuralPartialEq for ServiceUpdateTriggerPayload
Source§impl WireValidate for ServiceUpdateTriggerPayload
impl WireValidate for ServiceUpdateTriggerPayload
Source§fn wire_validate(&self) -> Result<(), WireValidationError>
fn wire_validate(&self) -> Result<(), WireValidationError>
Validate that all fields are within wire protocol size limits.
Auto Trait Implementations§
impl Freeze for ServiceUpdateTriggerPayload
impl RefUnwindSafe for ServiceUpdateTriggerPayload
impl Send for ServiceUpdateTriggerPayload
impl Sync for ServiceUpdateTriggerPayload
impl Unpin for ServiceUpdateTriggerPayload
impl UnsafeUnpin for ServiceUpdateTriggerPayload
impl UnwindSafe for ServiceUpdateTriggerPayload
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.