pub trait Identifier<T> {
// Required method
fn id(&self) -> T;
}Expand description
Defines a generic identification type for the implementor.
pub trait Identifier<T> {
// Required method
fn id(&self) -> T;
}Defines a generic identification type for the implementor.