pub struct DepResult {
pub name: String,
pub version: String,
pub scope: DepScope,
pub unused: Vec<UnusedDep>,
pub outdated: Vec<OutdatedDep>,
}Expand description
Result of a dependency check.
Fields§
§name: StringCrate name.
version: StringCrate version.
scope: DepScopeScope that produced this result.
unused: Vec<UnusedDep>Unused dependencies found.
outdated: Vec<OutdatedDep>Outdated dependencies found.
Implementations§
Source§impl DepResult
impl DepResult
Sourcepub fn total_findings(&self) -> usize
pub fn total_findings(&self) -> usize
Total findings across all categories.
Sourcepub fn into_report(self) -> Report
pub fn into_report(self) -> Report
Convert this result into a dev-report::Report.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DepResult
impl RefUnwindSafe for DepResult
impl Send for DepResult
impl Sync for DepResult
impl Unpin for DepResult
impl UnsafeUnpin for DepResult
impl UnwindSafe for DepResult
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