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

pub struct OwnedAttribute {
    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]

[src]

Returns a borrowed Attribute out of this owned one.

[src]

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

Trait Implementations

impl Clone for OwnedAttribute
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for OwnedAttribute
[src]

impl PartialEq for OwnedAttribute
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Hash for OwnedAttribute
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for OwnedAttribute
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for OwnedAttribute
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations