Type Alias Annotations

Source
pub type Annotations = Map<AnnonationKey, Value>;

Aliased Type§

pub struct Annotations(/* private fields */);

Implementations§

Source§

impl Annotations

Source

pub fn put<K, V>(&mut self, key: K, value: V) -> Option<Value>
where K: Into<AnnonationKey>, V: Into<Value>,

Source

pub fn get<K>(&self, key: K) -> Option<&Value>
where K: Into<AnnonationKey>,