pub fn snake_case(name: &str) -> String
The snake_case form of an IDL name (OnOff and onOff give on_off), as used in MQTT topics.
snake_case
OnOff
onOff
on_off