Struct s3lsio::Output [] [src]

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

Allows you to control non-Error output.

Fields

Defaults to OutputFormat::plain.

Available formats are json, plain, serialize or none (don't output anything). If plain is used then you can serialize structures with format! and then pass the output.

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

Trait Implementations

impl Debug for Output
[src]

Formats the value using the given formatter.

impl Clone for Output
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Output
[src]

impl PartialEq for Output
[src]

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

This method tests for !=.