Expand description

Table mapping information for keys.

The key trait is implemented for every key struct the the Toql derive gernerates.. It is used for internal purposes to build key predicates and for trait bounds.

Library users may also use it for trait bounds.

The trait cannot be used to get a key from an entity. This can be done with the Keyed trait.

Traits

Trait to provide the entity type for a key. This is only used for ergonomics of the api.