pub struct CheckVersionsPayload {
pub host_machine_id: String,
pub assignments: Vec<VersionCheckAssignment>,
}Expand description
Payload for requesting version checks from the agent.
Fields§
§host_machine_id: StringThe machine_id of the host to check versions on.
For the regular agent (one service = one host), the agent validates that this matches its own machine_id as a defensive sanity check. For the SSH agent (one service = N remote hosts), the agent uses this field to look up the correct SSH credentials and route the operation to the right remote host.
assignments: Vec<VersionCheckAssignment>List of software items to check.
Trait Implementations§
Source§impl Clone for CheckVersionsPayload
impl Clone for CheckVersionsPayload
Source§fn clone(&self) -> CheckVersionsPayload
fn clone(&self) -> CheckVersionsPayload
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 CheckVersionsPayload
impl Debug for CheckVersionsPayload
Source§impl<'de> Deserialize<'de> for CheckVersionsPayload
impl<'de> Deserialize<'de> for CheckVersionsPayload
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 CheckVersionsPayload
Source§impl PartialEq for CheckVersionsPayload
impl PartialEq for CheckVersionsPayload
Source§fn eq(&self, other: &CheckVersionsPayload) -> bool
fn eq(&self, other: &CheckVersionsPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CheckVersionsPayload
impl Serialize for CheckVersionsPayload
impl StructuralPartialEq for CheckVersionsPayload
Source§impl WireValidate for CheckVersionsPayload
impl WireValidate for CheckVersionsPayload
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 CheckVersionsPayload
impl RefUnwindSafe for CheckVersionsPayload
impl Send for CheckVersionsPayload
impl Sync for CheckVersionsPayload
impl Unpin for CheckVersionsPayload
impl UnsafeUnpin for CheckVersionsPayload
impl UnwindSafe for CheckVersionsPayload
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.