Struct xmlhelper::decode::Attribute [] [src]

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

An owned version of an XML attribute.

Consists of an owned qualified name and an owned string value.

Fields

Attribute name.

Attribute value.

Methods

impl OwnedAttribute
[src]

Returns a borrowed Attribute out of this owned one.

Creates a new owned attribute using the provided owned name and an owned string value.

Trait Implementations

impl Display for OwnedAttribute
[src]

Formats the value using the given formatter. Read more

impl Eq for OwnedAttribute
[src]

impl Debug for OwnedAttribute
[src]

Formats the value using the given formatter.

impl PartialEq<OwnedAttribute> for OwnedAttribute
[src]

impl Hash for OwnedAttribute
[src]

impl Clone for OwnedAttribute
[src]