pub trait GetKey<K> {
    // Required method
    fn key<T>(&self) -> Option<K>
       where T: Config;
}
Expand description

Attempts to retrieve a key associated with the given entity.

Required Methods§

source

fn key<T>(&self) -> Option<K>where T: Config,

Attempts to get an associated key.

Implementors§