mz_repr::explain::json

Trait DisplayJson

Source
pub trait DisplayJson
where Self: Sized,
{ // Required method fn to_serde_value(&self) -> Result<Value>; }
Expand description

A trait implemented by explanation types that can be rendered as ExplainFormat::Json.

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 DisplayJson for Value

Source§

impl DisplayJson for String

Implementors§