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 text with !fill tags stripped and all comment lines removed.
Suitable for feeding into serde_saphyr.
items: Vec<PreItem>Ordered items discovered at the top level — fields (with fill flags) and own-line top-level comments, in source order.
nested_comments: Vec<NestedComment>Comments inside nested containers, with structural paths.
warnings: Vec<Diagnostic>Warnings produced during the scan.
fill_target_errors: Vec<String>Unsupported-fill-target errors. The parser turns these into
ParseError::InvalidStructure rejections (!fill on mappings).
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