Derive Macro ruma_serde_macros::StringEnum[][src]

#[derive(StringEnum)]
{
    // Attributes available to this derive:
    #[ruma_enum]
}
Expand description

Shorthand for the derives AsRefStr, FromString, DisplayAsRefStr, SerializeAsRefStr and DeserializeFromCowStr.