pub struct SearchResults {
pub matches: Vec<PatternMatch>,
pub by_category: PatternMatchMap,
pub bytes_searched: usize,
pub duration_ms: u64,
}Expand description
Pattern search results
Fields§
§matches: Vec<PatternMatch>All matches found
by_category: PatternMatchMapMatches grouped by category
bytes_searched: usizeTotal bytes searched
duration_ms: u64Search duration
Trait Implementations§
Source§impl Clone for SearchResults
impl Clone for SearchResults
Auto Trait Implementations§
impl Freeze for SearchResults
impl RefUnwindSafe for SearchResults
impl Send for SearchResults
impl Sync for SearchResults
impl Unpin for SearchResults
impl UnsafeUnpin for SearchResults
impl UnwindSafe for SearchResults
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