pub struct TopQuery {
pub(crate) query: String,
pub(crate) frequency: usize,
}Expand description
Individual top query item.
Represents a frequently searched query with its frequency count.
Fields§
§query: StringThe search query (normalized)
frequency: usizeNumber of times this query was searched
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TopQuery
impl RefUnwindSafe for TopQuery
impl Send for TopQuery
impl Sync for TopQuery
impl Unpin for TopQuery
impl UnwindSafe for TopQuery
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