pub struct XmlAttribute {
pub name: String,
pub value: String,
}Expand description
A simple XML attribute.
Fields§
§name: String§value: StringTrait Implementations§
Source§impl Clone for XmlAttribute
impl Clone for XmlAttribute
Source§fn clone(&self) -> XmlAttribute
fn clone(&self) -> XmlAttribute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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
Source§fn eq(&self, other: &XmlAttribute) -> bool
fn eq(&self, other: &XmlAttribute) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq 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 UnsafeUnpin 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