ruma_common::serde

Derive Macro SerializeAsRefStr

Source
#[derive(SerializeAsRefStr)]
Expand description

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