Struct xml::attribute::OwnedAttribute [] [src]

pub struct OwnedAttribute {
    pub name: OwnedName,
    pub value: String,
}

Fields

name
value

Methods

impl OwnedAttribute

fn borrow(&self) -> Attribute

fn new(name: OwnedName, value: String) -> OwnedAttribute

Trait Implementations

impl Display for OwnedAttribute

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl Debug for OwnedAttribute

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Hash for OwnedAttribute

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl PartialEq for OwnedAttribute

fn eq(&self, __arg_0: &OwnedAttribute) -> bool

fn ne(&self, __arg_0: &OwnedAttribute) -> bool

impl Eq for OwnedAttribute

impl Clone for OwnedAttribute

fn clone(&self) -> OwnedAttribute

fn clone_from(&mut self, source: &Self)