pub struct DependencyResolutionOptions {
pub scope_override: Option<Scope>,
pub force: bool,
pub yes: bool,
pub all_optional: bool,
pub build_type: Option<String>,
pub quiet: bool,
}Expand description
Options for resolving a dependency graph without installing packages.
Fields§
§scope_override: Option<Scope>Optional scope to use when resolving dependencies.
force: boolInclude packages even when they appear to be installed already.
yes: boolAutomatically answer yes to resolver prompts.
all_optional: boolAccept all optional dependencies.
build_type: Option<String>Build type used for selecting typed build dependencies.
quiet: boolSuppress non-essential resolver output.
Trait Implementations§
Source§impl Clone for DependencyResolutionOptions
impl Clone for DependencyResolutionOptions
Source§fn clone(&self) -> DependencyResolutionOptions
fn clone(&self) -> DependencyResolutionOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DependencyResolutionOptions
impl Debug for DependencyResolutionOptions
Source§impl Default for DependencyResolutionOptions
impl Default for DependencyResolutionOptions
Source§fn default() -> DependencyResolutionOptions
fn default() -> DependencyResolutionOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DependencyResolutionOptions
impl RefUnwindSafe for DependencyResolutionOptions
impl Send for DependencyResolutionOptions
impl Sync for DependencyResolutionOptions
impl Unpin for DependencyResolutionOptions
impl UnsafeUnpin for DependencyResolutionOptions
impl UnwindSafe for DependencyResolutionOptions
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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