Struct cargo_update::Options [] [src]

pub struct Options {
    pub to_update: Vec<String>,
    pub update: bool,
    pub force: bool,
    pub cargo_dir: (String, PathBuf),
}

Representation of the application's all configurable values.

Fields

Packages to update. Default: None

If empty - update all.

Whether to update packages or just list them. Default: true

Update all packages. Default: false

The cargo home directory. Default: "$CARGO_HOME", then "$HOME/.cargo"

Methods

impl Options
[src]

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

Trait Implementations

impl Debug for Options
[src]

Formats the value using the given formatter.

impl Clone for Options
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for Options
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl PartialEq for Options
[src]

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

This method tests for !=.

impl Eq for Options
[src]