Type Alias rabbitmq_stream_protocol::message::Annotations

source ·
pub type Annotations = Map<AnnonationKey, Value>;

Aliased Type§

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>,