pub trait StructTableOptions {
// Required methods
fn wide_mode(&self) -> bool;
fn pretty_mode(&self) -> bool;
fn should_return_field<S: AsRef<str>>(
&self,
field: S,
is_wide_field: bool,
) -> bool;
}Expand description
StructTable output configuration trait
When OutputConfig can not be used you can implement this trait on you structure.
Required Methods§
Sourcefn pretty_mode(&self) -> bool
fn pretty_mode(&self) -> bool
Whether to serialize values using to_pretty_string
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.