Identifiable

Trait Identifiable 

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

A trait for types that have an ID.

Required Methods§

Source

fn get_id(&self) -> String

Returns the ID of the object.

Implementors§