pub struct SearchHit {
pub chunk_id: String,
pub score: f32,
pub score_type: &'static str,
pub source_uri: String,
pub offset_start: u64,
pub offset_end: u64,
pub embedding_model: String,
pub index_type: &'static str,
pub reranked: bool,
pub file_hash: String,
pub content_hash: String,
pub citation_id: String,
}Fields§
§chunk_id: String§score: f32§score_type: &'static str§source_uri: String§offset_start: u64§offset_end: u64§embedding_model: String§index_type: &'static str§reranked: bool§file_hash: String§content_hash: String§citation_id: StringTrait Implementations§
impl StructuralPartialEq for SearchHit
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