[][src]Trait typed_index_collection::Id

pub trait Id<T> {
    pub fn id(&self) -> &str;
pub fn set_id(&mut self, id: String); }

An object that has a unique identifier.

Required methods

pub fn id(&self) -> &str[src]

Returns the unique identifier.

pub fn set_id(&mut self, id: String)[src]

Set the identifier

Loading content...

Implementors

Loading content...