pub struct QueryExplanation {Show 16 fields
pub supports: Vec<ExplanationSupport>,
pub order: EvidenceOrder,
pub counts: EvidenceCounts,
pub schema: ExplanationSchema,
pub query: ExplanationQuery,
pub label: String,
pub address: Option<DocumentAddress>,
pub producer: Option<Producer>,
pub outcome: ExplanationOutcome,
pub total: u32,
pub returned: u32,
pub next_offset: Option<u32>,
pub truncation: ExplanationTruncation,
pub semantics_complete: bool,
pub diagnostics: Vec<Diagnostic>,
pub evidence: Vec<ExplanationEvidence>,
}Expand description
One readable document’s independently collected explanation evidence.
Fields§
§supports: Vec<ExplanationSupport>Source-qualified context shared by the direct owners on this page.
order: EvidenceOrderNormative category-first ordering, before result pagination.
counts: EvidenceCountsPer-class collected and returned owners; zero categories remain present.
schema: ExplanationSchemaExact result family.
query: ExplanationQueryNormalized request and applied bounds.
label: StringSelected document label.
address: Option<DocumentAddress>Logical identity, absent for explicit local input.
producer: Option<Producer>Parser/process provenance, when available.
outcome: ExplanationOutcomeEvidence versus no-evidence before page slicing.
total: u32Number of collected matching owners before pagination; a lower bound when candidate or relationship traversal is truncated.
returned: u32Matching owners returned on this page.
next_offset: Option<u32>More already-collected owners remain after this page.
truncation: ExplanationTruncationIndependent collection, relation traversal and body-copy bounds.
semantics_complete: boolSemantic validation coverage, never a recall-completeness claim.
diagnostics: Vec<Diagnostic>Original recoverable validation/parser findings.
evidence: Vec<ExplanationEvidence>Records in class-then-source order, with independent owners never merged.
Implementations§
Trait Implementations§
Source§impl Clone for QueryExplanation
impl Clone for QueryExplanation
Source§fn clone(&self) -> QueryExplanation
fn clone(&self) -> QueryExplanation
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for QueryExplanation
impl Debug for QueryExplanation
Source§impl<'de> Deserialize<'de> for QueryExplanation
impl<'de> Deserialize<'de> for QueryExplanation
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
impl Eq for QueryExplanation
Source§impl JsonSchema for QueryExplanation
impl JsonSchema for QueryExplanation
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more