Type Alias StructuredData

Source
pub type StructuredData<'a> = HashMap<&'a str, Vec<(String, String)>>;
Expand description

Alias for format of structured data. The RFC does not forbid having duplicate keys for PARAM-NAME, hence the vec of string pairs. I’m not sure if every RFC5424 implementation supports this, so be careful when sending duplicates; the receiver might discard some of them.

Aliased Type§

struct StructuredData<'a> { /* private fields */ }