pub trait Id<K>where
K: Identifier,{
type Item: Borrow<K>;
// Required method
fn get(&self) -> &Self::Item;
}Expand description
The Id trait describes the behavior of a type that can be used as an id.
An Id is almost identical to an Identifier, but it is a trait that can be implemented for any type.