#[derive(AsStrAsRefStr)]
{
// Attributes available to this derive:
#[ruma_enum]
}
Expand description
Derive the as_str()
method using the AsRef<str>
implementation of the type.
#[derive(AsStrAsRefStr)]
{
// Attributes available to this derive:
#[ruma_enum]
}
Derive the as_str()
method using the AsRef<str>
implementation of the type.