pub struct ResolvedDependency {
pub parent: RegistryPackageId,
pub dependency: PackageName,
pub child: RegistryPackageId,
}Expand description
Exact parent-to-child target selected for one dependency edge.
Fields§
§parent: RegistryPackageIdExact parent identity that declares this edge.
dependency: PackageNameDependency name as declared by the parent.
child: RegistryPackageIdExact child identity selected for this parent edge.
Trait Implementations§
Source§impl Clone for ResolvedDependency
impl Clone for ResolvedDependency
Source§fn clone(&self) -> ResolvedDependency
fn clone(&self) -> ResolvedDependency
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 ResolvedDependency
impl Debug for ResolvedDependency
impl Eq for ResolvedDependency
Source§impl Ord for ResolvedDependency
impl Ord for ResolvedDependency
Source§fn cmp(&self, other: &ResolvedDependency) -> Ordering
fn cmp(&self, other: &ResolvedDependency) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ResolvedDependency
impl PartialEq for ResolvedDependency
Source§impl PartialOrd for ResolvedDependency
impl PartialOrd for ResolvedDependency
impl StructuralPartialEq for ResolvedDependency
Auto Trait Implementations§
impl Freeze for ResolvedDependency
impl RefUnwindSafe for ResolvedDependency
impl Send for ResolvedDependency
impl Sync for ResolvedDependency
impl Unpin for ResolvedDependency
impl UnsafeUnpin for ResolvedDependency
impl UnwindSafe for ResolvedDependency
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