pub trait HasID<T: ID> { // Required method fn get_id(&self) -> &T; }
Indicates that the struct has an ID field
Get the struct’s ID