pub struct DetectReport {
pub enabled: Vec<VendorId>,
pub known: Vec<VendorId>,
pub probed: usize,
}Expand description
What one full run_once_with cycle did — the CLI’s report and the
serialized shape of detect --json (vendors as slugs, no secrets).
Fields§
§enabled: Vec<VendorId>Vendors flipped to enabled = true in the config this run.
known: Vec<VendorId>The persisted DetectState::known after this run.
probed: usizeHow many vendors were candidates this run (see DetectPlan::probed).
Trait Implementations§
Source§impl Clone for DetectReport
impl Clone for DetectReport
Source§impl Debug for DetectReport
impl Debug for DetectReport
Source§impl Default for DetectReport
impl Default for DetectReport
impl Eq for DetectReport
Source§impl PartialEq for DetectReport
impl PartialEq for DetectReport
Source§impl Serialize for DetectReport
impl Serialize for DetectReport
impl StructuralPartialEq for DetectReport
Auto Trait Implementations§
impl Freeze for DetectReport
impl RefUnwindSafe for DetectReport
impl Send for DetectReport
impl Sync for DetectReport
impl Unpin for DetectReport
impl UnsafeUnpin for DetectReport
impl UnwindSafe for DetectReport
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,
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more