pub struct Args {
pub verbose: bool,
pub show_private: bool,
pub list: bool,
pub no_features: bool,
pub show_deps: bool,
pub show_yanked: Option<YankStatus>,
pub name_only: bool,
pub pkgid: PkgId,
pub offline: bool,
pub theme: Theme,
pub local_only: bool,
pub json: bool,
}Expand description
Input for the program
Fields§
§verbose: boolVerbose output (list leaves, etc.)
show_private: boolShould we show private crates?
list: boolShould we list all versions?
no_features: boolShould no features be printed out?
show_deps: boolShould we should the dependencies?
show_yanked: Option<YankStatus>Should we show yanked versions?
name_only: boolShould we show only the name and version?
pkgid: PkgIdThe pkgid specified
offline: boolDon’t try to connect to the internet
theme: ThemeThe theme to use
local_only: boolDon’t treat this crate as a member of a workspace
json: boolOutput json instead of human readable
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnwindSafe for Args
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more