Struct lsiotemplate::ErrorOutput [] [src]

pub struct ErrorOutput {
    pub format: OutputFormat,
    pub color: Color,
}

Allows you to control Error output.

Fields

Defaults to OutputFormat::serialize since it's easier to debug.

Available formats are json, plain, serialize or none (don't output anything)

Can be any term color. Defaults to term::color::RED.

Trait Implementations

impl Debug for ErrorOutput
[src]

Formats the value using the given formatter.

impl Clone for ErrorOutput
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ErrorOutput
[src]

impl PartialEq for ErrorOutput
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.