pub trait KeyRestriction {
    // Required method
    fn restriction(&self) -> Cow<'_, str>;
}
Expand description

A restriction for a key.

Required Methods§

source

fn restriction(&self) -> Cow<'_, str>

The restriction string of the key.

Implementations on Foreign Types§

source§

impl KeyRestriction for String

source§

fn restriction(&self) -> Cow<'_, str>

source§

impl KeyRestriction for str

source§

fn restriction(&self) -> Cow<'_, str>

Implementors§