#[non_exhaustive]pub struct Evidence {
pub check: &'static str,
pub strength: Strength,
}Expand description
One check that fired.
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.check: &'static strWhat was checked: a constant, never a value read from the machine.
strength: StrengthHow much it proves.
Trait Implementations§
impl Copy for Evidence
impl Eq for Evidence
impl StructuralPartialEq for Evidence
Auto Trait Implementations§
impl Forget for Evidence
impl Freeze for Evidence
impl Move for Evidence
impl RefUnwindSafe for Evidence
impl Send for Evidence
impl Sync for Evidence
impl Unpin for Evidence
impl UnsafeUnpin for Evidence
impl UnwindSafe for Evidence
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