pub enum DeEvent<'a> {
Start(BytesStart<'a>),
End(BytesEnd<'a>),
Text(BytesText<'a>),
CData(BytesCData<'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(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.