[−][src]Struct cargo_update::Options
Representation of the application's all configurable values.
Fields
to_update: Vec<(String, Option<Semver>)>(Additional) packages to update. Default: []
all: boolWhether to update all packages. Default: false
update: boolWhether to update packages or just list them. Default: true
install: boolWhether to allow for just installing packages. Default: false
force: boolUpdate all packages. Default: false
update_git: boolUpdate git packages too (it's expensive). Default: false
quiet: boolDon't output messages and pass --quiet to cargo subprocesses. Default: false
filter: Vec<PackageFilterElement>Update all packages. Default: empty
crates_file: (String, PathBuf)The .crates.toml file in the cargo home directory.
Default: in "$CARGO_INSTALL_ROOT", then "$CARGO_HOME", then "$HOME/.cargo"
cargo_dir: (String, PathBuf)The cargo home directory. Default: "$CARGO_HOME", then "$HOME/.cargo"
temp_dir: (String, PathBuf)The temporary directory to clone git repositories to. Default: "$TEMP/cargo-update"
cargo_install_args: Vec<OsString>Arbitrary arguments to forward to cargo install, acquired from $CARGO_INSTALL_OPTS. Default: []
Methods
impl Options[src]
Trait Implementations
impl Clone for Options[src]
impl Eq for Options[src]
impl PartialEq<Options> for Options[src]
impl Debug for Options[src]
impl Hash for Options[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl StructuralPartialEq for Options[src]
impl StructuralEq for Options[src]
Auto Trait Implementations
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
impl RefUnwindSafe for Options
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,