Struct sn0int_std::xml::XmlElement
source · pub struct XmlElement {
pub name: String,
pub attrs: HashMap<String, String>,
pub text: Option<String>,
pub children: Vec<XmlElement>,
}
Fields§
§name: String
§attrs: HashMap<String, String>
§text: Option<String>
§children: Vec<XmlElement>
Trait Implementations§
source§impl Clone for XmlElement
impl Clone for XmlElement
source§fn clone(&self) -> XmlElement
fn clone(&self) -> XmlElement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for XmlElement
impl Debug for XmlElement
source§impl PartialEq<XmlElement> for XmlElement
impl PartialEq<XmlElement> for XmlElement
source§fn eq(&self, other: &XmlElement) -> bool
fn eq(&self, other: &XmlElement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for XmlElement
impl Serialize for XmlElement
impl StructuralPartialEq for XmlElement
Auto Trait Implementations§
impl RefUnwindSafe for XmlElement
impl Send for XmlElement
impl Sync for XmlElement
impl Unpin for XmlElement
impl UnwindSafe for XmlElement
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more