Skip to main content

AttributeName

Type Alias AttributeName 

Source
pub type AttributeName<'a> = Cow<'a, str>;
Expand description

An AttributeName represents the name of an attribute in a document.

Aliased Type§

pub enum AttributeName<'a> {
    Borrowed(&'a str),
    Owned(String),
}

Variants§

§1.0.0

Borrowed(&'a str)

Borrowed data.

§1.0.0

Owned(String)

Owned data.