pub struct XmlAttribute {
pub name: String,
pub value: String,
}
Expand description
An attribute of an XmlNode
.
Fields§
§name: String
Attribute name.
value: String
Attribute value.
Trait Implementations§
Source§impl Clone for XmlAttribute
impl Clone for XmlAttribute
Source§fn clone(&self) -> XmlAttribute
fn clone(&self) -> XmlAttribute
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 XmlAttribute
impl Debug for XmlAttribute
Source§impl PartialEq for XmlAttribute
impl PartialEq for XmlAttribute
impl StructuralPartialEq for XmlAttribute
Auto Trait Implementations§
impl Freeze for XmlAttribute
impl RefUnwindSafe for XmlAttribute
impl Send for XmlAttribute
impl Sync for XmlAttribute
impl Unpin for XmlAttribute
impl UnwindSafe for XmlAttribute
Blanket Implementations§
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