#[non_exhaustive]pub struct DependencyEntry {
pub project_path: String,
pub dependency: String,
pub version_req: String,
pub ecosystem: String,
}Expand description
A single project→dependency edge in the dependency index.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.project_path: StringProject root path.
dependency: StringDependency name.
version_req: StringDependency version requirement (e.g., "^1.2.0").
ecosystem: StringEcosystem: "cargo", "go", "npm", or "python".
Trait Implementations§
Source§impl Clone for DependencyEntry
impl Clone for DependencyEntry
Source§fn clone(&self) -> DependencyEntry
fn clone(&self) -> DependencyEntry
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 DependencyEntry
impl Debug for DependencyEntry
Source§impl PartialEq for DependencyEntry
impl PartialEq for DependencyEntry
impl Eq for DependencyEntry
impl StructuralPartialEq for DependencyEntry
Auto Trait Implementations§
impl Freeze for DependencyEntry
impl RefUnwindSafe for DependencyEntry
impl Send for DependencyEntry
impl Sync for DependencyEntry
impl Unpin for DependencyEntry
impl UnsafeUnpin for DependencyEntry
impl UnwindSafe for DependencyEntry
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.