pub trait Relation {
// Required method
fn name(self) -> &'static str;
}
Expand description
Represents possible relations to an Entity
Easiest way to implement is implementing Into<&'static str>
for your enum, which can builder
achieved with strum::IntoStaticStr