pub struct VersionCheckAssignment {
pub software_item_id: Uuid,
pub name: String,
pub detect_version: Option<PluginAssignment>,
pub fetch_releases: Option<PluginAssignment>,
pub host_software_item_id: Option<Uuid>,
}Expand description
A single software item to check for installed version and/or latest version.
Fields§
§software_item_id: UuidSoftware item ID.
name: StringHuman-readable name for logging.
detect_version: Option<PluginAssignment>Plugin for the detect_version role. None if no detect_version plugin is configured for this host-software pair.
fetch_releases: Option<PluginAssignment>Plugin for the fetch_releases role — only included for agent-side plugins (i.e., plugins without ControllerSideFetchReleases or with execution_site = agent). Controller-side fetch_releases is handled by the scheduler, not sent to the agent.
host_software_item_id: Option<Uuid>Host software item ID for routing results to the host_software_items table. When set, this assignment is for a host-managed software item rather than a targeted software item.
Trait Implementations§
Source§impl Clone for VersionCheckAssignment
impl Clone for VersionCheckAssignment
Source§fn clone(&self) -> VersionCheckAssignment
fn clone(&self) -> VersionCheckAssignment
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 VersionCheckAssignment
impl Debug for VersionCheckAssignment
Source§impl<'de> Deserialize<'de> for VersionCheckAssignment
impl<'de> Deserialize<'de> for VersionCheckAssignment
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 VersionCheckAssignment
Source§impl PartialEq for VersionCheckAssignment
impl PartialEq for VersionCheckAssignment
Source§impl Serialize for VersionCheckAssignment
impl Serialize for VersionCheckAssignment
impl StructuralPartialEq for VersionCheckAssignment
Source§impl WireValidate for VersionCheckAssignment
impl WireValidate for VersionCheckAssignment
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 VersionCheckAssignment
impl RefUnwindSafe for VersionCheckAssignment
impl Send for VersionCheckAssignment
impl Sync for VersionCheckAssignment
impl Unpin for VersionCheckAssignment
impl UnsafeUnpin for VersionCheckAssignment
impl UnwindSafe for VersionCheckAssignment
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.