Trait dock_runtime::common::GetKey
source · 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.
pub trait GetKey<K> {
// Required method
fn key<T>(&self) -> Option<K>
where T: Config;
}
Attempts to retrieve a key associated with the given entity.