pub trait ObjectIndex: Debug + Display + Ord + Hash + Eq + Borrow<str> {
    // Required method
    fn as_index(&self) -> &str;
}
Expand description

Owned object index

Required Methods§

source

fn as_index(&self) -> &str

Borrow the index

Implementations on Foreign Types§

source§

impl ObjectIndex for String

source§

fn as_index(&self) -> &str

Implementors§