Struct lsiotemplate::ErrorOutput
[−]
[src]
pub struct ErrorOutput {
pub format: OutputFormat,
pub color: Color,
}Allows you to control Error output.
Fields
format: OutputFormat
Defaults to OutputFormat::serialize since it's easier to debug.
Available formats are json, plain, serialize or none (don't output anything)
color: Color
Can be any term color. Defaults to term::color::RED.
Trait Implementations
impl Debug for ErrorOutput[src]
impl Clone for ErrorOutput[src]
fn clone(&self) -> ErrorOutput
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Copy for ErrorOutput[src]
impl PartialEq for ErrorOutput[src]
fn eq(&self, __arg_0: &ErrorOutput) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ErrorOutput) -> bool
This method tests for !=.