pub struct DiscoverSoftwarePayload {
pub host_machine_id: String,
pub plugins: Vec<DiscoveryPluginAssignment>,
}Expand description
Controller -> Agent: Run software discovery on the given host.
The plugins list contains one entry per plugin that should be used.
When plugin_config_id is None, the assignment uses a default (empty)
config — the controller will auto-create a PluginConfig record once
results arrive.
Fields§
§host_machine_id: StringMachine ID of the host to discover software on.
For the regular agent this is validated to match its own machine_id. For the SSH agent it identifies which remote host to connect to.
plugins: Vec<DiscoveryPluginAssignment>Per-plugin discovery assignments.
Trait Implementations§
Source§impl Clone for DiscoverSoftwarePayload
impl Clone for DiscoverSoftwarePayload
Source§fn clone(&self) -> DiscoverSoftwarePayload
fn clone(&self) -> DiscoverSoftwarePayload
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 DiscoverSoftwarePayload
impl Debug for DiscoverSoftwarePayload
Source§impl<'de> Deserialize<'de> for DiscoverSoftwarePayload
impl<'de> Deserialize<'de> for DiscoverSoftwarePayload
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 DiscoverSoftwarePayload
Source§impl PartialEq for DiscoverSoftwarePayload
impl PartialEq for DiscoverSoftwarePayload
Source§fn eq(&self, other: &DiscoverSoftwarePayload) -> bool
fn eq(&self, other: &DiscoverSoftwarePayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DiscoverSoftwarePayload
impl Serialize for DiscoverSoftwarePayload
impl StructuralPartialEq for DiscoverSoftwarePayload
Source§impl WireValidate for DiscoverSoftwarePayload
impl WireValidate for DiscoverSoftwarePayload
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 DiscoverSoftwarePayload
impl RefUnwindSafe for DiscoverSoftwarePayload
impl Send for DiscoverSoftwarePayload
impl Sync for DiscoverSoftwarePayload
impl Unpin for DiscoverSoftwarePayload
impl UnsafeUnpin for DiscoverSoftwarePayload
impl UnwindSafe for DiscoverSoftwarePayload
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.