#[derive(AsRefStr)] { // Attributes available to this derive: #[ruma_enum] }
Derive the AsRef<str> trait for an enum.
AsRef<str>