pub struct ParseResult {
pub root: Value,
pub mode: Mode,
pub locked: bool,
pub metadata: HashMap<String, MetaMap>,
pub includes: Vec<IncludeDirective>,
}Expand description
Full parse result with metadata.
Fields§
§root: Value§mode: Mode§locked: bool§metadata: HashMap<String, MetaMap>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