Key

Type Alias Key 

Source
pub type Key<'text> = Cow<'text, str>;
Expand description

A Key is simply an alias for Cow<str>

Aliased Type§

pub enum Key<'text> {
    Borrowed(&'text str),
    Owned(String),
}

Variants§

§1.0.0

Borrowed(&'text str)

Borrowed data.

§1.0.0

Owned(String)

Owned data.