#[non_exhaustive]pub struct Omission {
pub name: String,
pub spec: String,
pub reason: String,
}Expand description
A dependency the audit resolution skipped rather than resolved — a non-registry spec
(git / path / tarball / workspace: / link: / alias to one of those) or an optional
dependency that failed to resolve — so an audit can report what it did not check.
#[non_exhaustive] like Resolved: constructed only inside the crate, read by callers.
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.name: String§spec: StringThe spec/range text that couldn’t be followed — verbatim for a manifest root; a parsed
range’s display form for a transitive edge (the verbatim text is gone after parsing);
empty when no spec applies (e.g. the workspaces marker).
reason: StringProse for reports: e.g. git dependency, local path, remote tarball,
workspace: protocol, optional dependency failed to fetch: <cause>.
Trait Implementations§
impl Eq for Omission
impl StructuralPartialEq for Omission
Auto Trait Implementations§
impl Freeze for Omission
impl RefUnwindSafe for Omission
impl Send for Omission
impl Sync for Omission
impl Unpin for Omission
impl UnsafeUnpin for Omission
impl UnwindSafe for Omission
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.