pub enum DeEvent<'a> {
Start(BytesStart<'a>),
End(BytesEnd<'a>),
Text(Text<'a>),
Eof,
}
Available on crate feature
serialize
only.Expand description
Simplified event which contains only these variants that used by deserializer
Variants§
Start(BytesStart<'a>)
Start tag (with attributes) <tag attr="value">
.
End(BytesEnd<'a>)
End tag </tag>
.
Text(Text<'a>)
Decoded and concatenated content of consequent Text
and CData
events. Consequent means that events should follow each other or be
delimited only by (any count of) Comment
or PI
events.
Eof
End of XML document.
Trait Implementations§
source§impl<'a> PartialEq for DeEvent<'a>
impl<'a> PartialEq for DeEvent<'a>
impl<'a> Eq for DeEvent<'a>
impl<'a> StructuralEq for DeEvent<'a>
impl<'a> StructuralPartialEq for DeEvent<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for DeEvent<'a>
impl<'a> Send for DeEvent<'a>
impl<'a> Sync for DeEvent<'a>
impl<'a> Unpin for DeEvent<'a>
impl<'a> UnwindSafe for DeEvent<'a>
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