Derive Macro ruma_macros::FromString

source ยท
#[derive(FromString)]
{
    // Attributes available to this derive:
    #[ruma_enum]
}
Expand description

Derive the From<T: AsRef<str> + Into<Box<str>>> trait for an enum.