pub struct VerificationFailureShape {
pub kind: VerificationFailureKind,
pub site: Option<String>,
pub fingerprint: Option<String>,
}Expand description
Bounded, content-free shape of one failed verification command.
The default is the unrecognized shape (Other, no site, no fingerprint).
Fields§
§kind: VerificationFailureKindRecognized category of the failure.
site: Option<String>Localized file:line or test name, when an allowlisted marker supplied one.
fingerprint: Option<String>Stable fingerprint of (kind, site), used to group repeated failures.
None when no allowlisted marker matched: unrecognized failures have
no identity to deduplicate against.
Implementations§
Trait Implementations§
Source§impl Clone for VerificationFailureShape
impl Clone for VerificationFailureShape
Source§impl Debug for VerificationFailureShape
impl Debug for VerificationFailureShape
Source§impl Default for VerificationFailureShape
impl Default for VerificationFailureShape
impl Eq for VerificationFailureShape
Source§impl PartialEq for VerificationFailureShape
impl PartialEq for VerificationFailureShape
impl StructuralPartialEq for VerificationFailureShape
Auto Trait Implementations§
impl Forget for VerificationFailureShape
impl Freeze for VerificationFailureShape
impl Move for VerificationFailureShape
impl RefUnwindSafe for VerificationFailureShape
impl Send for VerificationFailureShape
impl Sync for VerificationFailureShape
impl Unpin for VerificationFailureShape
impl UnsafeUnpin for VerificationFailureShape
impl UnwindSafe for VerificationFailureShape
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.