Trait liquid_core::model::ObjectIndex

source ·
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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ObjectIndex for String

source§

fn as_index(&self) -> &str

Implementors§