pub trait Pretty: Serialize {
const TEMPLATE: &'static str;
}Expand description
A serializable model whose pretty view is a Jinja template.
Prepare the data. The template owns {% if %}, loops, and alignment.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".