pub struct NoteSearchHit {
pub note_id: Uuid,
pub score: DeterministicScore,
pub title: Option<String>,
pub snippet: Option<String>,
}Expand description
A note search result with UUID, salience-weighted RRF score, and display text.
Fields§
§note_id: Uuid§score: DeterministicScore§title: Option<String>§snippet: Option<String>Trait Implementations§
Source§impl Clone for NoteSearchHit
impl Clone for NoteSearchHit
Source§fn clone(&self) -> NoteSearchHit
fn clone(&self) -> NoteSearchHit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NoteSearchHit
impl RefUnwindSafe for NoteSearchHit
impl Send for NoteSearchHit
impl Sync for NoteSearchHit
impl Unpin for NoteSearchHit
impl UnsafeUnpin for NoteSearchHit
impl UnwindSafe for NoteSearchHit
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