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) -> Result<Self, ParseXmlError> where
R: Read,
R: Read,
Trait Implementations
impl Debug for XmlDocument
[src]
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 Display for XmlDocument
[src]
impl FromStr for XmlDocument
[src]
type Err = ParseXmlError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<XmlDocument, ParseXmlError>
Parses a string s
to return a value of this type. Read more