pub struct ScopeExplanation {
pub order: EvidenceOrder,
pub counts: EvidenceCounts,
pub query: ExplanationQuery,
pub outcome: ExplanationOutcome,
pub total: u32,
pub returned: u32,
pub next_offset: Option<u32>,
pub truncation: ExplanationTruncation,
pub documents: Vec<ScopedExplanation>,
pub evidence: Vec<ScopedExplanationEvidence>,
pub failures: Vec<ScopedQueryFailure>,
}Expand description
Global evidence page over a resolved scope. Source loading failures/frontier
remain in ScopeQueryResponse.scope, independently of this normal outcome.
Fields§
§order: EvidenceOrderNormative global category/BFS/source ordering.
counts: EvidenceCountsGlobal per-class totals and page counts.
query: ExplanationQueryOriginal global pagination/content request.
outcome: ExplanationOutcomeEvidence/no-evidence before pagination, never uniqueness or recall proof.
total: u32Sum of collected owner counts (a lower bound when collection is truncated).
returned: u32Owners present on this global page.
next_offset: Option<u32>Next global result offset when more collected evidence remains.
truncation: ExplanationTruncationIndependent bounds, combined across readable sources.
documents: Vec<ScopedExplanation>Readable documents, including normal zero-evidence contributions.
evidence: Vec<ScopedExplanationEvidence>The only materialized evidence list, in global classification order.
failures: Vec<ScopedQueryFailure>Unexpected unreadable loaded content, never normal multiple/zero hits.
Implementations§
Trait Implementations§
Source§impl Clone for ScopeExplanation
impl Clone for ScopeExplanation
Source§fn clone(&self) -> ScopeExplanation
fn clone(&self) -> ScopeExplanation
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 ScopeExplanation
impl Debug for ScopeExplanation
Source§impl<'de> Deserialize<'de> for ScopeExplanation
impl<'de> Deserialize<'de> for ScopeExplanation
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 ScopeExplanation
Source§impl JsonSchema for ScopeExplanation
impl JsonSchema for ScopeExplanation
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