pub struct FileContentSearchHit {Show 18 fields
pub scope_id: String,
pub root_id: String,
pub path: String,
pub relative_path: String,
pub chunk_id: String,
pub content_role: String,
pub excerpt: String,
pub span: EvidenceSpan,
pub fingerprint: String,
pub content_hash: String,
pub indexed_at_ms: u64,
pub graph_version: u64,
pub indexed_graph_version: u64,
pub freshness_cursor: String,
pub rank: usize,
pub score: f64,
pub ranking_signals: Vec<String>,
pub fact_candidates: Vec<FileKnowledgeFactCandidate>,
}Expand description
One file-content search hit with provenance and prompt-role isolation.
Fields§
§scope_id: String§root_id: String§path: String§relative_path: String§chunk_id: String§content_role: String§excerpt: String§span: EvidenceSpan§fingerprint: String§content_hash: String§indexed_at_ms: u64§graph_version: u64§indexed_graph_version: u64§freshness_cursor: String§rank: usize§score: f64§ranking_signals: Vec<String>§fact_candidates: Vec<FileKnowledgeFactCandidate>Trait Implementations§
Source§impl Clone for FileContentSearchHit
impl Clone for FileContentSearchHit
Source§fn clone(&self) -> FileContentSearchHit
fn clone(&self) -> FileContentSearchHit
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 moreSource§impl Debug for FileContentSearchHit
impl Debug for FileContentSearchHit
Source§impl<'de> Deserialize<'de> for FileContentSearchHit
impl<'de> Deserialize<'de> for FileContentSearchHit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FileContentSearchHit
impl PartialEq for FileContentSearchHit
Source§impl Serialize for FileContentSearchHit
impl Serialize for FileContentSearchHit
impl StructuralPartialEq for FileContentSearchHit
Auto Trait Implementations§
impl Freeze for FileContentSearchHit
impl RefUnwindSafe for FileContentSearchHit
impl Send for FileContentSearchHit
impl Sync for FileContentSearchHit
impl Unpin for FileContentSearchHit
impl UnsafeUnpin for FileContentSearchHit
impl UnwindSafe for FileContentSearchHit
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