Id

Trait Id 

Source
pub trait Id {
    // Required method
    fn id(&self) -> &str;
}
Expand description

Objects that have an identifier implement this trait

Those identifier are technical and should not be shown to travellers

Required Methods§

Source

fn id(&self) -> &str

Identifier of the object

Implementations on Foreign Types§

Source§

impl<T: Id> Id for Arc<T>

Source§

fn id(&self) -> &str

Implementors§