MultiFormatDisplay

Trait MultiFormatDisplay 

Source
pub trait MultiFormatDisplay: Serialize {
    // Required method
    fn to_table(&self) -> Table;

    // Provided method
    fn to_quiet(&self) -> String { ... }
}
Expand description

Trait for types that can be displayed in multiple formats

Required Methods§

Source

fn to_table(&self) -> Table

Provided Methods§

Source

fn to_quiet(&self) -> 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.

Implementations on Foreign Types§

Source§

impl MultiFormatDisplay for Vec<PluginListEntry>

Source§

impl MultiFormatDisplay for Vec<RemoteExecutionResult>

Source§

impl MultiFormatDisplay for Vec<RemoteNodeListEntry>

Source§

impl MultiFormatDisplay for Vec<ScriptListEntry>

Implementors§