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