ruma_macros

Derive Macro 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.