pub trait ObjectFormat {
// Required method
fn format_json(&self) -> Value;
}Required Methods§
fn format_json(&self) -> Value
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".