pub struct YamlEvent {
pub kind: YamlEventKind,
pub tag: Option<String>,
pub value: Option<String>,
}Expand description
One event from scan_events.
Fields§
§kind: YamlEventKind§tag: Option<String>The node’s tag in full URI form, when it carried one.
value: Option<String>The scalar’s text, for YamlEventKind::Scalar.
Trait Implementations§
impl Eq for YamlEvent
impl StructuralPartialEq for YamlEvent
Auto Trait Implementations§
impl Freeze for YamlEvent
impl RefUnwindSafe for YamlEvent
impl Send for YamlEvent
impl Sync for YamlEvent
impl Unpin for YamlEvent
impl UnsafeUnpin for YamlEvent
impl UnwindSafe for YamlEvent
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