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
to_update: Vec<String>
Packages to update. Default: None
If empty - update all.
update: bool
Whether to update packages or just list them. Default: true
force: bool
Update all packages. Default: false
cargo_dir: (String, PathBuf)
The cargo
home directory. Default: "$CARGO_HOME"
, then "$HOME/.cargo"
Methods
impl Options
[src]
Trait Implementations
impl Debug for Options
[src]
impl Clone for Options
[src]
fn clone(&self) -> Options
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Hash for Options
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl PartialEq for Options
[src]
fn eq(&self, __arg_0: &Options) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Options) -> bool
This method tests for !=
.