Trait WithId
typed_index_collection
pub trait WithId { pub fn with_id(id: &str) -> Self; }
An object that can be assigned an identifier.
pub fn with_id(id: &str) -> Self
Set an identifier and returns the object.