pub struct ResolvedDependencyInfo {
pub version_constraint: String,
pub resolved_sha: String,
pub parent_version: Option<String>,
pub parent_sha: Option<String>,
pub resolution_mode: ResolutionMode,
}Expand description
Value type for resolved dependencies tracked for conflict detection.
Contains the resolution metadata needed to detect and resolve version conflicts between different dependencies that resolve to the same resource.
Fields§
§version_constraint: StringThe version constraint that was specified (e.g., “^1.0.0”, “main”, “abc123”)
resolved_sha: StringThe resolved commit SHA for this dependency
parent_version: Option<String>The version constraint of the parent dependency (if any)
parent_sha: Option<String>The resolved SHA of the parent dependency (if any)
resolution_mode: ResolutionModeThe resolution mode used (Version or GitRef)
Trait Implementations§
Source§impl Clone for ResolvedDependencyInfo
impl Clone for ResolvedDependencyInfo
Source§fn clone(&self) -> ResolvedDependencyInfo
fn clone(&self) -> ResolvedDependencyInfo
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 moreAuto Trait Implementations§
impl Freeze for ResolvedDependencyInfo
impl RefUnwindSafe for ResolvedDependencyInfo
impl Send for ResolvedDependencyInfo
impl Sync for ResolvedDependencyInfo
impl Unpin for ResolvedDependencyInfo
impl UnwindSafe for ResolvedDependencyInfo
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