Type Definition syslog5424::StructuredData[][src]

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

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.