Derive Macro ruma::serde::SerializeAsRefStr  
source · [−]#[derive(SerializeAsRefStr)]Expand description
Derive the Serialize trait using the AsRef<str> implementation of the type.
#[derive(SerializeAsRefStr)]Derive the Serialize trait using the AsRef<str> implementation of the type.