pub struct ParseResult {
pub root: Value,
pub mode: Mode,
pub locked: bool,
pub tool: bool,
pub schema: bool,
pub metadata: HashMap<String, HashMap<String, Meta>>,
pub includes: Vec<IncludeDirective>,
}Expand description
Full parse result with metadata.
Fields§
§root: Value§mode: Mode§locked: bool§tool: bool!tool directive — file describes an LLM tool call or schema.
schema: bool!schema directive (combined with !tool) — file describes tool definitions.
metadata: HashMap<String, HashMap<String, Meta>>Metadata for each nesting level, keyed by dot-path prefix. “” = root level, “server” = server sub-object, etc.
includes: Vec<IncludeDirective>!include directives parsed from the file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParseResult
impl RefUnwindSafe for ParseResult
impl Send for ParseResult
impl Sync for ParseResult
impl Unpin for ParseResult
impl UnsafeUnpin for ParseResult
impl UnwindSafe for ParseResult
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