pub struct Match {
pub rule_name: String,
pub tags: Vec<String>,
pub meta: HashMap<String, String>,
pub matched: bool,
pub matched_patterns: HashMap<String, Vec<MatchDetail>>,
}Expand description
Result of evaluating a single rule against input.
Fields§
§rule_name: String§meta: HashMap<String, String>§matched: bool§matched_patterns: HashMap<String, Vec<MatchDetail>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Match
impl RefUnwindSafe for Match
impl Send for Match
impl Sync for Match
impl Unpin for Match
impl UnsafeUnpin for Match
impl UnwindSafe for Match
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