pub enum StandardCommand {
Version {
json: bool,
},
License,
Completions {
shell: Shell,
},
Doctor,
Update {
version: Option<String>,
force: bool,
install_dir: Option<PathBuf>,
},
}Expand description
Shared metadata commands exposed by workspace binaries.
Variants§
Version
Show version information.
License
Show license text.
Completions
Generate shell completion scripts.
Doctor
Run health checks.
Update
Run self-update.
Trait Implementations§
Source§impl Clone for StandardCommand
impl Clone for StandardCommand
Source§fn clone(&self) -> StandardCommand
fn clone(&self) -> StandardCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StandardCommand
impl Debug for StandardCommand
Source§impl PartialEq for StandardCommand
impl PartialEq for StandardCommand
impl Eq for StandardCommand
impl StructuralPartialEq for StandardCommand
Auto Trait Implementations§
impl Freeze for StandardCommand
impl RefUnwindSafe for StandardCommand
impl Send for StandardCommand
impl Sync for StandardCommand
impl Unpin for StandardCommand
impl UnsafeUnpin for StandardCommand
impl UnwindSafe for StandardCommand
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