pub struct FileTextFtsCandidate {
pub path: String,
pub content_hash: Option<String>,
pub byte_count: usize,
pub line_count: usize,
pub bm25: f64,
}Expand description
One FTS-ranked candidate carrying only authoritative persisted metadata.
Fields§
§path: StringRepository-relative file path used for budgeted content hydration.
content_hash: Option<String>BLAKE3 content hash from the authoritative persisted text row.
byte_count: usizePersisted UTF-8 source byte count used for pre-hydration budgets.
line_count: usizePersisted line count.
bm25: f64SQLite FTS5 BM25 score; lower values rank first.
Trait Implementations§
Source§impl Clone for FileTextFtsCandidate
impl Clone for FileTextFtsCandidate
Source§fn clone(&self) -> FileTextFtsCandidate
fn clone(&self) -> FileTextFtsCandidate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileTextFtsCandidate
impl Debug for FileTextFtsCandidate
Source§impl PartialEq for FileTextFtsCandidate
impl PartialEq for FileTextFtsCandidate
impl StructuralPartialEq for FileTextFtsCandidate
Auto Trait Implementations§
impl Freeze for FileTextFtsCandidate
impl RefUnwindSafe for FileTextFtsCandidate
impl Send for FileTextFtsCandidate
impl Sync for FileTextFtsCandidate
impl Unpin for FileTextFtsCandidate
impl UnwindSafe for FileTextFtsCandidate
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