pub struct FieldAnswer {
pub value: AnswerValue,
pub basis: Basis,
pub selector: String,
pub representation: String,
pub source_span: Option<(u64, u64)>,
pub provenance: String,
pub dependency_ids: Vec<NodeId>,
pub integrity_scope: IntegrityScope,
pub exact: bool,
}Expand description
A typed observation with full provenance.
Fields§
§value: AnswerValueThe observed value.
basis: BasisThe epistemic basis.
selector: StringCanonical selector text, e.g. page:1 or byte-range:10:4.
representation: StringCanonical representation text, e.g. text or exact.
source_span: Option<(u64, u64)>The exact source span this answer maps to, when one exists.
provenance: StringShort provenance/basis string: which layer and format-specific identity produced this answer (e.g. a DOCX story, part, table/row/cell, and the extraction profile). Advisory and deterministic; never authority.
dependency_ids: Vec<NodeId>The seed nodes actually read to produce this answer.
integrity_scope: IntegrityScopeHow much source integrity was verified.
exact: boolWhether this answer is an exact observation of the source.
Trait Implementations§
Source§impl Clone for FieldAnswer
impl Clone for FieldAnswer
Source§impl Debug for FieldAnswer
impl Debug for FieldAnswer
impl Eq for FieldAnswer
Source§impl PartialEq for FieldAnswer
impl PartialEq for FieldAnswer
impl StructuralPartialEq for FieldAnswer
Auto Trait Implementations§
impl Freeze for FieldAnswer
impl RefUnwindSafe for FieldAnswer
impl Send for FieldAnswer
impl Sync for FieldAnswer
impl Unpin for FieldAnswer
impl UnsafeUnpin for FieldAnswer
impl UnwindSafe for FieldAnswer
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