pub trait Id<T> { // Required methods fn id(&self) -> &str; fn set_id(&mut self, id: String); }
An object that has a unique identifier.
Returns the unique identifier.
Set the identifier