[][src]Struct cargo_update::ConfigOptions

pub struct ConfigOptions {
    pub crates_file: (String, PathBuf),
    pub package: String,
    pub ops: Vec<ConfigOperation>,
}

Representation of the config application's all configurable values.

Fields

crates_file: (String, PathBuf)

The config file in the cargo home directory. Default: in "$CARGO_INSTALL_ROOT", then "$CARGO_HOME", then "$HOME/.cargo"

package: String

Crate to modify config for

ops: Vec<ConfigOperation>

What to do to the config, or display with empty

Methods

impl ConfigOptions[src]

pub fn parse() -> ConfigOptions[src]

Parse env-wide command-line arguments into a ConfigOptions instance

Trait Implementations

impl Clone for ConfigOptions[src]

impl Eq for ConfigOptions[src]

impl PartialEq<ConfigOptions> for ConfigOptions[src]

impl Debug for ConfigOptions[src]

impl Hash for ConfigOptions[src]

impl StructuralPartialEq for ConfigOptions[src]

impl StructuralEq for ConfigOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]