matrix_sdk::media

Trait UniqueKey

Source
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§