pub struct InstallOptions<'a> {Show 16 fields
pub scope: Scope,
pub force: bool,
pub all_optional: bool,
pub yes: bool,
pub save: bool,
pub build_type: Option<&'a str>,
pub dry_run: bool,
pub plugin_manager: Option<&'a PluginManager>,
pub build: bool,
pub frozen: bool,
pub explain: bool,
pub plan_json: bool,
pub retry: u32,
pub verbose: bool,
pub purl: bool,
pub project_config: Option<ProjectConfig>,
}Expand description
Options for the installation orchestrator.
Fields§
§scope: ScopeThe scope to install the packages into.
force: boolWhether to force the installation.
all_optional: boolWhether to install all optional dependencies.
yes: boolWhether to skip confirmation prompts.
save: boolWhether to save the installation to the project file.
build_type: Option<&'a str>The build type to use.
dry_run: boolWhether to perform a dry run.
plugin_manager: Option<&'a PluginManager>The plugin manager to use.
build: boolWhether to force building from source.
frozen: boolWhether to use the lockfile exactly (frozen).
explain: boolWhether to explain decisions.
plan_json: boolWhether to emit machine-readable plan JSON.
retry: u32Number of download retry attempts.
verbose: boolWhether to show verbose output.
purl: boolWhether to use PURL (Package URL) specification.
project_config: Option<ProjectConfig>Optional project configuration override.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for InstallOptions<'a>
impl<'a> !Send for InstallOptions<'a>
impl<'a> !Sync for InstallOptions<'a>
impl<'a> !UnwindSafe for InstallOptions<'a>
impl<'a> Freeze for InstallOptions<'a>
impl<'a> Unpin for InstallOptions<'a>
impl<'a> UnsafeUnpin for InstallOptions<'a>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more