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: PatternMatchMap
Matches grouped by category
bytes_searched: usize
Total bytes searched
duration_ms: u64
Search duration
Trait Implementations§
Source§impl Clone for SearchResults
impl Clone for SearchResults
Source§fn clone(&self) -> SearchResults
fn clone(&self) -> SearchResults
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SearchResults
impl RefUnwindSafe for SearchResults
impl Send for SearchResults
impl Sync for SearchResults
impl Unpin 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