Trait orml_traits::get_by_key::GetByKey[][src]

pub trait GetByKey<Key, Value> {
    fn get(k: &Key) -> Value;
}

A trait for querying a value by a key.

Required methods

fn get(k: &Key) -> Value[src]

Return the value.

Loading content...

Implementors

Loading content...