pub struct DepNode {
pub name: String,
pub version: String,
pub ecosystem: Ecosystem,
pub direct: bool,
}Expand description
One resolved node in the dependency tree — a concrete package at a concrete version.
Fields§
§name: StringRegistry name of the package.
version: StringThe exact resolved version (from the lockfile).
ecosystem: EcosystemEcosystem the package belongs to.
direct: boolWhether this is a direct dependency of the project (vs. pulled in transitively).
Trait Implementations§
impl Eq for DepNode
impl StructuralPartialEq for DepNode
Auto Trait Implementations§
impl Freeze for DepNode
impl RefUnwindSafe for DepNode
impl Send for DepNode
impl Sync for DepNode
impl Unpin for DepNode
impl UnsafeUnpin for DepNode
impl UnwindSafe for DepNode
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