Derive Macro ruma_common::serde::DisplayAsRefStr
source · [−]#[derive(DisplayAsRefStr)]Expand description
Derive the fmt::Display trait using the AsRef<str> implementation of the type.
#[derive(DisplayAsRefStr)]Derive the fmt::Display trait using the AsRef<str> implementation of the type.