pub enum OutlineNode {
Tldr {
path: NodePath,
id: NodeId,
title: String,
},
DocumentRoot {
path: NodePath,
id: NodeId,
title: String,
entry_summary: Option<EntrySummary>,
children: Vec<OutlineNode>,
},
DocumentSection {
path: NodePath,
id: NodeId,
title: String,
entry_summary: Option<EntrySummary>,
children: Vec<OutlineNode>,
},
DocumentEntry {Show 14 fields
owner: Box<ContentReveal>,
path: NodePath,
id: NodeId,
title: String,
entry_kind: EntryKind,
case: NameCase,
names: Vec<String>,
alias_groups: Vec<Vec<String>>,
alias_of: Option<NodeId>,
forms: Vec<String>,
document_targets: Vec<EntryDocumentTarget>,
value_domain: Option<Box<EntryValueDomain>>,
entry_summary: Option<EntrySummary>,
children: Vec<OutlineNode>,
},
}Expand description
One uniquely addressable node in a query outline.
Variants§
Tldr
Optional quick-reference node.
Fields
DocumentRoot
Addressable document content that precedes the first heading.
Fields
entry_summary: Option<EntrySummary>Recursive semantic entry coverage for this scope.
children: Vec<OutlineNode>Nested semantic entries when explicitly expanded.
DocumentSection
One semantic document section.
Fields
entry_summary: Option<EntrySummary>Recursive semantic entry coverage owned directly by this section.
children: Vec<OutlineNode>Nested section and entry nodes.
DocumentEntry
One source-neutral semantic definition.
Fields
owner: Box<ContentReveal>Exact original list/definition item in the loaded document, independent of semantic IDs, display labels and filtered outline paths.
alias_groups: Vec<Vec<String>>Explicit owner-local equivalence groups; no default canonical member.
document_targets: Vec<EntryDocumentTarget>Exact cross-document destinations declared by linked entry terms.
value_domain: Option<Box<EntryValueDomain>>Optional finite or cross-document value space.
entry_summary: Option<EntrySummary>Recursive semantic entry coverage owned by this entry.
children: Vec<OutlineNode>Nested entry nodes.
Implementations§
Source§impl OutlineNode
impl OutlineNode
Trait Implementations§
Source§impl Clone for OutlineNode
impl Clone for OutlineNode
Source§fn clone(&self) -> OutlineNode
fn clone(&self) -> OutlineNode
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 OutlineNode
impl Debug for OutlineNode
Source§impl<'de> Deserialize<'de> for OutlineNode
impl<'de> Deserialize<'de> for OutlineNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for OutlineNode
Source§impl JsonSchema for OutlineNode
impl JsonSchema for OutlineNode
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