Struct xmlJSON::XmlDocument [] [src]

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

An XML Document

Fields

data

Data contained within the parsed XML Document

Methods

impl XmlDocument

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

Trait Implementations

impl Display for XmlDocument

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

impl FromStr for XmlDocument

type Err = ParseXmlError

fn from_str(s: &str) -> Result<XmlDocument, ParseXmlError>

impl ToJson for XmlDocument

fn to_json(&self) -> Json

Derived Implementations

impl Clone for XmlDocument

fn clone(&self) -> XmlDocument

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

impl Debug for XmlDocument

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