pub trait UniqueKey {
    // Required method
    fn unique_key(&self) -> String;
}
Expand description

A trait to uniquely identify values of the same type.

Required Methods§

source

fn unique_key(&self) -> String

A string that uniquely identifies Self compared to other values of the same type.

Implementors§