Enum quick_xml::Event [] [src]

pub enum Event {
    Start(Element),
    End(Element),
    Empty(Element),
    Text(Element),
    Comment(Element),
    CData(Element),
    Decl(XmlDecl),
    PI(Element),
    DocType(Element),
}

Event to interprete node as they are parsed

Variants

Start tag (with attributes) <...>

End tag </...>

Empty element tag (with attributes) <.../>

Data between Start and End element

Comment <!-- ... -->

CData <![CDATA[...]]>

Xml declaration <?xml ...?>

Processing instruction <?...?>

Doctype <!DOCTYPE...>

Methods

impl Event
[src]

returns inner Element for the event

Trait Implementations

impl Debug for Event
[src]

Formats the value using the given formatter.

impl Clone for Event
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more