pub struct Options {Show 23 fields
pub no_symlinks: bool,
pub dry_run: bool,
pub force: bool,
pub quiet: bool,
pub locked: bool,
pub no_track: bool,
pub cargo_toml_fetch_override: Option<CargoTomlFetchOverride>,
pub cli_overrides: PkgOverride,
pub desired_targets: DesiredTargets,
pub resolvers: Vec<Resolver>,
pub cargo_install_fallback: bool,
pub bins: Option<Vec<CompactString>>,
pub temp_dir: PathBuf,
pub install_path: PathBuf,
pub has_overriden_install_path: bool,
pub cargo_root: Option<PathBuf>,
pub client: Client,
pub gh_api_client: LazyGhApiClient,
pub jobserver_client: LazyJobserverClient,
pub registry: Registry,
pub signature_policy: SignaturePolicy,
pub disable_telemetry: bool,
pub maximum_resolution_timeout: Duration,
}Fields§
§no_symlinks: bool§dry_run: bool§force: bool§quiet: bool§locked: bool§no_track: bool§cargo_toml_fetch_override: Option<CargoTomlFetchOverride>§cli_overrides: PkgOverride§desired_targets: DesiredTargets§resolvers: Vec<Resolver>§cargo_install_fallback: bool§bins: Option<Vec<CompactString>>If provided, the names are sorted.
temp_dir: PathBuf§install_path: PathBuf§has_overriden_install_path: bool§cargo_root: Option<PathBuf>§client: Client§gh_api_client: LazyGhApiClient§jobserver_client: LazyJobserverClient§registry: Registry§signature_policy: SignaturePolicy§disable_telemetry: bool§maximum_resolution_timeout: DurationTrait Implementations§
Auto Trait Implementations§
impl !Freeze for Options
impl !RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl !UnwindSafe for Options
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