pub struct SubjectFactEntry {
pub predicate: String,
pub value: Option<String>,
pub status: String,
pub valid_from_display: Option<String>,
pub valid_until_display: Option<String>,
pub provenance: String,
pub claim_ref: Option<String>,
pub conf: Option<f32>,
}Expand description
One per-predicate entry in a QuerySubjectResponse.
Mirrors the shape that query_memory + enrich_query_memory would produce for a
single (subject, predicate) pair. The field names match the API contract exactly
so Python callers can read them as dict keys without additional mapping.
Fields§
§predicate: StringThe predicate this entry describes.
value: Option<String>The resolved value string, or None when the status is NoBelief.
status: StringResolved belief status: "Resolved", "Contested", "NoBelief", or "TimingUncertain".
valid_from_display: Option<String>Start of the valid-time window rendered at recorded precision (e.g. "2020-03").
None when the start endpoint is unknown.
valid_until_display: Option<String>End of the valid-time window rendered at recorded precision.
None when the end endpoint is unknown / open-ended.
provenance: StringHuman-readable provenance label, or "none" when there is no primary belief.
claim_ref: Option<String>Stable UUID reference to the primary claim, or None when there is no primary.
conf: Option<f32>Value confidence of the primary claim (0.0–1.0), or None when absent.
Trait Implementations§
Source§impl Clone for SubjectFactEntry
impl Clone for SubjectFactEntry
Source§fn clone(&self) -> SubjectFactEntry
fn clone(&self) -> SubjectFactEntry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more