pub struct DiscoveryPluginResult {
pub plugin_config_id: Option<Uuid>,
pub plugin_type: PluginTypeId,
pub discoveries: Vec<DiscoveredSoftware>,
pub error: Option<String>,
}Expand description
Result for a single plugin inside a DiscoveryResultsPayload.
Fields§
§plugin_config_id: Option<Uuid>Echoed from DiscoveryPluginAssignment so the controller can route
results to the correct PluginConfig row.
plugin_type: PluginTypeIdPlugin type that produced these results.
discoveries: Vec<DiscoveredSoftware>Discovered software items (empty on error).
error: Option<String>Plugin-level error message, if discovery failed.
Trait Implementations§
Source§impl Clone for DiscoveryPluginResult
impl Clone for DiscoveryPluginResult
Source§fn clone(&self) -> DiscoveryPluginResult
fn clone(&self) -> DiscoveryPluginResult
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 DiscoveryPluginResult
impl Debug for DiscoveryPluginResult
Source§impl<'de> Deserialize<'de> for DiscoveryPluginResult
impl<'de> Deserialize<'de> for DiscoveryPluginResult
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 DiscoveryPluginResult
Source§impl PartialEq for DiscoveryPluginResult
impl PartialEq for DiscoveryPluginResult
Source§impl Serialize for DiscoveryPluginResult
impl Serialize for DiscoveryPluginResult
impl StructuralPartialEq for DiscoveryPluginResult
Source§impl WireValidate for DiscoveryPluginResult
impl WireValidate for DiscoveryPluginResult
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 DiscoveryPluginResult
impl RefUnwindSafe for DiscoveryPluginResult
impl Send for DiscoveryPluginResult
impl Sync for DiscoveryPluginResult
impl Unpin for DiscoveryPluginResult
impl UnsafeUnpin for DiscoveryPluginResult
impl UnwindSafe for DiscoveryPluginResult
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.