pub trait AsIdentifier<ById: Identifier> {
// Required method
fn as_id(&self) -> &ById;
}Expand description
Meant to be a helpful trait allowing anything that can be
identified by the type specified in ById.
pub trait AsIdentifier<ById: Identifier> {
// Required method
fn as_id(&self) -> &ById;
}Meant to be a helpful trait allowing anything that can be
identified by the type specified in ById.