Identifiable

Trait Identifiable 

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

Identifiable trait for objects with unique IDs

Required Methods§

Source

fn id(&self) -> &str

Get the unique identifier

Implementors§