pub trait IdenStatic: Iden + Copy + Debug + 'static {
    // Required method
    fn as_str(&self) -> &str;
}
Expand description

Ensure the identifier for an Entity can be converted to a static str

Required Methods§

source

fn as_str(&self) -> &str

Method to call to get the static string identity

Object Safety§

This trait is not object safe.

Implementors§