pub struct QueryOutline {
pub schema: OutlineSchema,
pub entries: EntryProjection,
pub root: Option<NodeSelector>,
pub label: String,
pub source: Option<DocumentSource>,
pub meta: Option<DocumentMeta>,
pub diagnostics: Vec<Diagnostic>,
pub entries_complete: bool,
pub nodes: Vec<OutlineNode>,
}Expand description
A block-free tree used to discover selectable query content.
Fields§
§schema: OutlineSchemaExact response schema discriminator.
entries: EntryProjectionEntry projection used to build this outline.
root: Option<NodeSelector>Optional section or entry selector used as the projection root.
label: StringHuman-readable selected-document label.
source: Option<DocumentSource>Authoritative document source, when one was loaded.
meta: Option<DocumentMeta>Document metadata, when an authoritative document was loaded.
diagnostics: Vec<Diagnostic>Recoverable parser findings available to diagnostic-oriented transports.
entries_complete: boolFalse when semantic-entry declarations were rejected during lowering.
The field is omitted for complete outlines so compact transports pay no steady-state bandwidth cost.
nodes: Vec<OutlineNode>Addressable nodes in document order.
Trait Implementations§
Source§impl Clone for QueryOutline
impl Clone for QueryOutline
Source§fn clone(&self) -> QueryOutline
fn clone(&self) -> QueryOutline
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QueryOutline
impl Debug for QueryOutline
Source§impl<'de> Deserialize<'de> for QueryOutline
impl<'de> Deserialize<'de> for QueryOutline
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for QueryOutline
Source§impl JsonSchema for QueryOutline
impl JsonSchema for QueryOutline
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for QueryOutline
impl PartialEq for QueryOutline
Source§impl Serialize for QueryOutline
impl Serialize for QueryOutline
impl StructuralPartialEq for QueryOutline
Auto Trait Implementations§
impl Freeze for QueryOutline
impl RefUnwindSafe for QueryOutline
impl Send for QueryOutline
impl Sync for QueryOutline
impl Unpin for QueryOutline
impl UnsafeUnpin for QueryOutline
impl UnwindSafe for QueryOutline
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