pub struct UpgradeOptions {
pub version: Option<String>,
pub yes: bool,
pub dry_run: bool,
}Expand description
Options for the upgrade command
Fields§
§version: Option<String>Target version (only for Cargo installs)
yes: boolSkip confirmation prompt
dry_run: boolCheck for updates without installing
Auto Trait Implementations§
impl Freeze for UpgradeOptions
impl RefUnwindSafe for UpgradeOptions
impl Send for UpgradeOptions
impl Sync for UpgradeOptions
impl Unpin for UpgradeOptions
impl UnwindSafe for UpgradeOptions
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