Derive Macro ruma::serde::AsStrAsRefStr

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

Derive the as_str() method using the AsRef<str> implementation of the type.