Struct openalias::Options [] [src]

pub struct Options {
    pub aliases: Vec<String>,
    pub verbose: bool,
    pub raw: bool,
    pub currency_filter: Option<Vec<String>>,
}

Representation of the application's all configurable values.

Fields

Aliases to look up.

Print more information.

Default: false.

Just print the record text.

Default: false.

Limit results to currencies from this list.

Default: None.

Methods

impl Options
[src]

[src]

Parse env-wide command-line arguments into an Options instance

Trait Implementations

impl Debug for Options
[src]

[src]

Formats the value using the given formatter.

impl Clone for Options
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Hash for Options
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for Options
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for Options
[src]