Struct xmlJSON::XmlDocument [] [src]

pub struct XmlDocument {
    pub data: Vec<XmlData>,
}

An XML Document

Fields

data: Vec<XmlData>

Data contained within the parsed XML Document

Methods

impl XmlDocument
[src]

fn from_reader<R>(source: R, trim: bool) -> Self where R: Read

Trait Implementations

impl Clone for XmlDocument
[src]

fn clone(&self) -> XmlDocument

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for XmlDocument
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for XmlDocument
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl FromStr for XmlDocument
[src]

type Err = ParseXmlError

The associated error which can be returned from parsing.

fn from_str(s: &str) -> Result<XmlDocumentParseXmlError>

Parses a string s to return a value of this type. Read more

impl ToJson for XmlDocument
[src]

fn to_json(&self) -> Json

Converts the value of self to an instance of JSON