Derive Macro ruma_common::serde::SerializeAsRefStr

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

Derive the Serialize trait using the AsRef<str> implementation of the type.