[][src]Trait transit_model_collection::Id

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

An object that has a unique identifier.

Required methods

fn id(&self) -> &str

Returns the unique identifier.

fn set_id(&mut self, id: String)

Set the identifier

Loading content...

Implementors

Loading content...