pub struct DiscoveryPluginAssignment {
pub plugin_config_id: Option<Uuid>,
pub plugin_type: PluginTypeId,
pub config: Value,
}Expand description
A single plugin assignment inside a DiscoverSoftwarePayload.
Fields§
§plugin_config_id: Option<Uuid>Pre-existing plugin config ID, or None for a default/auto run.
plugin_type: PluginTypeIdPlugin type to use for discovery.
config: ValuePlugin-specific configuration ({} for default assignments).
Trait Implementations§
Source§impl Clone for DiscoveryPluginAssignment
impl Clone for DiscoveryPluginAssignment
Source§fn clone(&self) -> DiscoveryPluginAssignment
fn clone(&self) -> DiscoveryPluginAssignment
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 DiscoveryPluginAssignment
impl Debug for DiscoveryPluginAssignment
Source§impl<'de> Deserialize<'de> for DiscoveryPluginAssignment
impl<'de> Deserialize<'de> for DiscoveryPluginAssignment
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 DiscoveryPluginAssignment
impl StructuralPartialEq for DiscoveryPluginAssignment
Auto Trait Implementations§
impl Freeze for DiscoveryPluginAssignment
impl RefUnwindSafe for DiscoveryPluginAssignment
impl Send for DiscoveryPluginAssignment
impl Sync for DiscoveryPluginAssignment
impl Unpin for DiscoveryPluginAssignment
impl UnsafeUnpin for DiscoveryPluginAssignment
impl UnwindSafe for DiscoveryPluginAssignment
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.