pub struct PreScan {
pub cleaned_yaml: String,
pub items: Vec<PreItem>,
pub nested_comments: Vec<NestedComment>,
pub warnings: Vec<Diagnostic>,
pub fill_target_errors: Vec<String>,
}Expand description
Output of prescan_fence_content.
Fields§
§cleaned_yaml: StringYAML with !fill tags stripped and comment lines removed; fed to serde_saphyr.
items: Vec<PreItem>Top-level fields and comments in source order.
nested_comments: Vec<NestedComment>§warnings: Vec<Diagnostic>§fill_target_errors: Vec<String>!fill on mappings — turned into ParseError::InvalidStructure by the parser.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PreScan
impl RefUnwindSafe for PreScan
impl Send for PreScan
impl Sync for PreScan
impl Unpin for PreScan
impl UnsafeUnpin for PreScan
impl UnwindSafe for PreScan
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