pub fn event_data<I, K, V>(name: &str, props: I) -> Vec<(String, String)>Expand description
The same attributes as event_attrs, as (name, value) pairs that are
not escaped yet. Handy for template engines and builders that set
attributes one by one and escape them for you.
- Prop keys are made lowercase. Anything that is not
a-z,0-9or_becomes_, so"Report Type"becomesreport_type. Keys are cut to 64 characters. - At most 30 props. Values become text:
true,false, numbers as written, lists joined with commas.NoneandValue::Nullare left out. Values are cut to 500 characters.
Returns an empty list for an empty name.