pub struct SearchHit {
pub title: String,
pub locator: String,
pub snippet: String,
pub veils_in: u32,
}Expand description
One ranked search result from the Waystone index (/thread/search).
Fields§
§title: String§locator: String§snippet: StringContent snippet matching the query (the “why” of the hit).
veils_in: u32How many veils lead here — the Thread’s PageRank cousin.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SearchHit
impl RefUnwindSafe for SearchHit
impl Send for SearchHit
impl Sync for SearchHit
impl Unpin for SearchHit
impl UnsafeUnpin for SearchHit
impl UnwindSafe for SearchHit
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