Derive Macro ruma_macros::SerializeAsRefStr

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

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