pub trait WriteJsonKey {
// Required method
fn write_json_key<W: JsonWrite + ?Sized>(&self, writer: &mut W) -> Result;
}
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl WriteJsonKey for Cow<'_, str>
Available on crate feature alloc
only.
impl WriteJsonKey for Cow<'_, str>
Available on crate feature
alloc
only.Source§impl WriteJsonKey for str
impl WriteJsonKey for str
Source§impl WriteJsonKey for String
Available on crate feature alloc
only.
impl WriteJsonKey for String
Available on crate feature
alloc
only.