Trait GetByKey
orml_traits::get_by_key
pub trait GetByKey<Key, Value> { fn get(k: &Key) -> Value; }
A trait for querying a value by a key.
fn get(k: &Key) -> Value
Return the value.