Derive Macro ruma_common::serde::DisplayAsRefStr

source ยท
#[derive(DisplayAsRefStr)]
Expand description

Derive the fmt::Display trait using the AsRef<str> implementation of the type.