pub struct Meta {
pub position: Option<Position>,
pub anchor: Option<String>,
pub alias: Option<String>,
pub comment: Option<String>,
pub xml: Option<XmlKind>,
}Expand description
Where a node came from and what the source said about it.
Fields§
§position: Option<Position>The node’s position (for a map entry, its key’s).
anchor: Option<String>The YAML anchor defined on this node (&name).
alias: Option<String>For a YAML alias (*name), the anchor it refers to. The node holds a
copy of the anchored value.
comment: Option<String>A comment attached to this entry (INI and dotenv).
xml: Option<XmlKind>For XML documents, what the node was.
Trait Implementations§
impl StructuralPartialEq for Meta
Auto Trait Implementations§
impl Freeze for Meta
impl RefUnwindSafe for Meta
impl Send for Meta
impl Sync for Meta
impl Unpin for Meta
impl UnsafeUnpin for Meta
impl UnwindSafe for Meta
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