pub struct DetectorResult {
pub detector: String,
pub candidates: Vec<DiscoveryCandidate>,
}Expand description
One detector invocation before its candidates are flattened into an initialization plan.
Fields§
§detector: StringStable detector id.
candidates: Vec<DiscoveryCandidate>Candidates emitted in stable path order.
Implementations§
Source§impl DetectorResult
impl DetectorResult
Sourcepub fn into_candidates(self) -> Result<Vec<DiscoveryCandidate>>
pub fn into_candidates(self) -> Result<Vec<DiscoveryCandidate>>
Return candidates in deterministic path order for plan serialization.
Trait Implementations§
Source§impl Clone for DetectorResult
impl Clone for DetectorResult
Source§impl Debug for DetectorResult
impl Debug for DetectorResult
Source§impl<'de> Deserialize<'de> for DetectorResult
impl<'de> Deserialize<'de> for DetectorResult
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 DetectorResult
Source§impl PartialEq for DetectorResult
impl PartialEq for DetectorResult
Source§impl Serialize for DetectorResult
impl Serialize for DetectorResult
impl StructuralPartialEq for DetectorResult
Auto Trait Implementations§
impl Freeze for DetectorResult
impl RefUnwindSafe for DetectorResult
impl Send for DetectorResult
impl Sync for DetectorResult
impl Unpin for DetectorResult
impl UnsafeUnpin for DetectorResult
impl UnwindSafe for DetectorResult
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.