Derive Macro ruma_common::serde::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.