pub struct DependencyResolutionConfig {
pub enable_circular_detection: bool,
pub max_resolution_depth: usize,
pub cache_expiry_duration: Duration,
pub allow_version_downgrades: bool,
pub strict_version_matching: bool,
}Expand description
Dependency resolution configuration
Fields§
§enable_circular_detection: boolEnable circular dependency detection
max_resolution_depth: usizeMaximum resolution depth
cache_expiry_duration: DurationCache expiry duration
allow_version_downgrades: boolAllow version downgrades
strict_version_matching: boolStrict version matching
Trait Implementations§
Source§impl Clone for DependencyResolutionConfig
impl Clone for DependencyResolutionConfig
Source§fn clone(&self) -> DependencyResolutionConfig
fn clone(&self) -> DependencyResolutionConfig
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 DependencyResolutionConfig
impl Debug for DependencyResolutionConfig
Auto Trait Implementations§
impl Freeze for DependencyResolutionConfig
impl RefUnwindSafe for DependencyResolutionConfig
impl Send for DependencyResolutionConfig
impl Sync for DependencyResolutionConfig
impl Unpin for DependencyResolutionConfig
impl UnwindSafe for DependencyResolutionConfig
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> 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