pub trait CliRender: Serialize + Sized {
    // Required methods
    fn render_item_table(&self) -> String;
    fn render_list_table(items: &[Self]) -> String;

    // Provided methods
    fn render_item(&self, format: ItemFormat) -> String { ... }
    fn render_list(items: &[Self], format: ListFormat) -> String { ... }
}

Required Methods§

Provided Methods§

source

fn render_item(&self, format: ItemFormat) -> String

source

fn render_list(items: &[Self], format: ListFormat) -> String

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl CliRender for DeployApp

source§

impl CliRender for DeployAppVersion

source§

impl CliRender for Log

source§

impl CliRender for Namespace

Implementors§