pub struct Violation {
pub check: String,
pub subject: String,
pub evidence: String,
}Expand description
Evidence for one violated assertion.
Fields§
§check: StringWhich assertion fired: deny, forbid, or duplicates.
subject: StringThe offending crate (or A=>B spec).
evidence: StringHuman evidence: a dependency path, or the duplicated versions.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Violation
impl RefUnwindSafe for Violation
impl Send for Violation
impl Sync for Violation
impl Unpin for Violation
impl UnsafeUnpin for Violation
impl UnwindSafe for Violation
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