pub struct SearchStats {
pub match_count: usize,
pub search_time_us: u64,
pub hit_limit: bool,
pub index_size: usize,
}Expand description
Statistics about search operations
Fields§
§match_count: usizeNumber of matches found
search_time_us: u64Time taken for the search in microseconds
hit_limit: boolWhether the search hit the result limit
index_size: usizeSize of the search index in bytes
Trait Implementations§
Source§impl Clone for SearchStats
impl Clone for SearchStats
Source§fn clone(&self) -> SearchStats
fn clone(&self) -> SearchStats
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 moreSource§impl Debug for SearchStats
impl Debug for SearchStats
Source§impl PartialEq for SearchStats
impl PartialEq for SearchStats
impl Eq for SearchStats
impl StructuralPartialEq for SearchStats
Auto Trait Implementations§
impl Freeze for SearchStats
impl RefUnwindSafe for SearchStats
impl Send for SearchStats
impl Sync for SearchStats
impl Unpin for SearchStats
impl UnwindSafe for SearchStats
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