pub struct InstallOptions {
pub no_install: bool,
pub force: bool,
pub quiet: bool,
pub offline: bool,
}Expand description
Resource installation options
Fields§
§no_install: boolSkip installation, only update lockfile
force: boolForce reinstallation even if up to date
quiet: boolSuppress progress indicators
offline: boolUse cached data only, don’t fetch updates
Trait Implementations§
Source§impl Clone for InstallOptions
impl Clone for InstallOptions
Source§fn clone(&self) -> InstallOptions
fn clone(&self) -> InstallOptions
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 InstallOptions
impl Debug for InstallOptions
Source§impl Default for InstallOptions
impl Default for InstallOptions
Source§fn default() -> InstallOptions
fn default() -> InstallOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InstallOptions
impl RefUnwindSafe for InstallOptions
impl Send for InstallOptions
impl Sync for InstallOptions
impl Unpin for InstallOptions
impl UnwindSafe for InstallOptions
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