pub struct NoteHit {
pub path: String,
pub name: String,
pub snippet: String,
pub backlink_count: usize,
pub name_similarity: i32,
}Expand description
Knowledge search hit (file-name based).
Fields§
§path: StringFile path relative to knowledge root.
name: StringDisplay name of the file.
snippet: StringContent snippet.
backlink_count: usizeNumber of backlinks pointing to this note.
name_similarity: i32Name similarity score (0–100).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NoteHit
impl RefUnwindSafe for NoteHit
impl Send for NoteHit
impl Sync for NoteHit
impl Unpin for NoteHit
impl UnsafeUnpin for NoteHit
impl UnwindSafe for NoteHit
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