Derive Macro ruma::serde::SerializeAsRefStr

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

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