pub enum DeEvent<'a> {
Start(BytesStart<'a>),
End(BytesEnd<'a>),
Text(BytesText<'a>),
CData(BytesCData<'a>),
Eof,
}
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(BytesText<'a>)
Escaped character data between Start
and End
element.
CData(BytesCData<'a>)
Unescaped character data between Start
and End
element,
stored in <![CDATA[...]]>
.
Eof
End of XML document.
Trait Implementations
sourceimpl<'a> PartialEq<DeEvent<'a>> for DeEvent<'a>
impl<'a> PartialEq<DeEvent<'a>> 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more