pub struct OwnedAttribute {
pub name: OwnedName,
pub value: String,
}
Expand description
An owned version of an XML attribute.
Consists of an owned qualified name and an owned string value.
Fields§
§name: OwnedName
Attribute name.
value: String
Attribute value.
Implementations§
Trait Implementations§
Source§impl Clone for OwnedAttribute
impl Clone for OwnedAttribute
Source§fn clone(&self) -> OwnedAttribute
fn clone(&self) -> OwnedAttribute
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 OwnedAttribute
impl Debug for OwnedAttribute
Source§impl Display for OwnedAttribute
impl Display for OwnedAttribute
Source§impl Hash for OwnedAttribute
impl Hash for OwnedAttribute
Source§impl PartialEq for OwnedAttribute
impl PartialEq for OwnedAttribute
impl Eq for OwnedAttribute
impl StructuralPartialEq for OwnedAttribute
Auto Trait Implementations§
impl Freeze for OwnedAttribute
impl RefUnwindSafe for OwnedAttribute
impl Send for OwnedAttribute
impl Sync for OwnedAttribute
impl Unpin for OwnedAttribute
impl UnwindSafe for OwnedAttribute
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