pub enum MatchDetailLevel {
Off,
Summary,
Full,
}Expand description
Verbosity of the match detail attached to detection results.
Gates how much is recorded in each FieldMatch. Off is the default
and produces the historical { field, value } shape with no extra keys,
so existing wire consumers are unaffected unless they opt in.
Variants§
Off
Historical behavior: only field-present matches, recorded as
{ field, value }. Keyword and absence matches are not reported.
Summary
Adds the originating selection, the matcher kind, and
case_sensitive, and reports previously dropped keyword and
absence matches.
Full
Everything in Summary plus the pattern that fired.
Implementations§
Trait Implementations§
Source§impl Clone for MatchDetailLevel
impl Clone for MatchDetailLevel
Source§fn clone(&self) -> MatchDetailLevel
fn clone(&self) -> MatchDetailLevel
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 moreimpl Copy for MatchDetailLevel
Source§impl Debug for MatchDetailLevel
impl Debug for MatchDetailLevel
Source§impl Default for MatchDetailLevel
impl Default for MatchDetailLevel
Source§fn default() -> MatchDetailLevel
fn default() -> MatchDetailLevel
Returns the “default value” for a type. Read more
impl Eq for MatchDetailLevel
Source§impl FromStr for MatchDetailLevel
impl FromStr for MatchDetailLevel
Source§impl PartialEq for MatchDetailLevel
impl PartialEq for MatchDetailLevel
Source§fn eq(&self, other: &MatchDetailLevel) -> bool
fn eq(&self, other: &MatchDetailLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MatchDetailLevel
Auto Trait Implementations§
impl Freeze for MatchDetailLevel
impl RefUnwindSafe for MatchDetailLevel
impl Send for MatchDetailLevel
impl Sync for MatchDetailLevel
impl Unpin for MatchDetailLevel
impl UnsafeUnpin for MatchDetailLevel
impl UnwindSafe for MatchDetailLevel
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§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.