pub struct Subgraph {
pub hits: Vec<Hit>,
pub expanded: Vec<String>,
pub edges: Vec<Edge>,
pub route: String,
pub context_order: Vec<String>,
pub compound: Option<CompoundSubgraph>,
pub omitted_context: usize,
pub omitted_context_candidates: Vec<OmittedContextCandidate>,
}Fields§
§hits: Vec<Hit>§expanded: Vec<String>§edges: Vec<Edge>§route: StringWhere to ROUTE: the canonical front-door node (top ranked hit).
context_order: Vec<String>What to READ, in order: hits re-ranked by RAW lexical relevance (most specific match first — so an exact child page leads), then the expanded neighbourhood. Route ≠ this[0] whenever a child out-matched its skill but the skill was promoted to the route.
compound: Option<CompoundSubgraph>Multi-anchor task interpretation. Present when the query is better explained as a set of distinct facets connected by the graph than as a single-node route.
omitted_context: usizeNumber of candidate context nodes omitted by the pack budget.
omitted_context_candidates: Vec<OmittedContextCandidate>Compact explanation of the top context candidates that were considered but not selected.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Subgraph
impl RefUnwindSafe for Subgraph
impl Send for Subgraph
impl Sync for Subgraph
impl Unpin for Subgraph
impl UnsafeUnpin for Subgraph
impl UnwindSafe for Subgraph
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