pub struct UpdateResultPayload {
pub update_history_id: Uuid,
pub status: UpdateFinalStatus,
pub from_version: Option<String>,
pub to_version: Option<String>,
pub output: String,
pub error: Option<String>,
pub resumable: Option<bool>,
}Expand description
Agent -> Controller: Final result of update execution.
Fields§
§update_history_id: Uuid§status: UpdateFinalStatus§from_version: Option<String>§to_version: Option<String>§output: String§error: Option<String>§resumable: Option<bool>When true, the agent signals that this update can be resumed after
a restart (e.g. the update script supports idempotent re-entry or the
agent is mid-self-update and will re-attach on reconnect).
None / absent means “not resumable” for wire backward compatibility.
Trait Implementations§
Source§impl Clone for UpdateResultPayload
impl Clone for UpdateResultPayload
Source§fn clone(&self) -> UpdateResultPayload
fn clone(&self) -> UpdateResultPayload
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 UpdateResultPayload
impl Debug for UpdateResultPayload
Source§impl<'de> Deserialize<'de> for UpdateResultPayload
impl<'de> Deserialize<'de> for UpdateResultPayload
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 UpdateResultPayload
Source§impl PartialEq for UpdateResultPayload
impl PartialEq for UpdateResultPayload
Source§impl Serialize for UpdateResultPayload
impl Serialize for UpdateResultPayload
impl StructuralPartialEq for UpdateResultPayload
Source§impl WireValidate for UpdateResultPayload
impl WireValidate for UpdateResultPayload
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 UpdateResultPayload
impl RefUnwindSafe for UpdateResultPayload
impl Send for UpdateResultPayload
impl Sync for UpdateResultPayload
impl Unpin for UpdateResultPayload
impl UnsafeUnpin for UpdateResultPayload
impl UnwindSafe for UpdateResultPayload
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.