Trait scsys_core::id::Id
source · pub trait Id<K>where
K: Identifier,
Self: Borrow<K>,{
// Required method
fn get(&self) -> &K;
}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.