#[non_exhaustive]pub struct UnevaluatedRule {
pub code: FindingCode,
pub reason: NotEvaluatedReason,
pub columns: Vec<String>,
}Expand description
A rule that could not be evaluated, and why.
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.code: FindingCodeThe rule.
reason: NotEvaluatedReasonWhy it was not evaluated.
columns: Vec<String>For a column rule, the columns it could not look at, in report order. Empty for a rule about the whole report.
Trait Implementations§
Source§impl Clone for UnevaluatedRule
impl Clone for UnevaluatedRule
Source§impl Debug for UnevaluatedRule
impl Debug for UnevaluatedRule
impl Eq for UnevaluatedRule
Source§impl PartialEq for UnevaluatedRule
impl PartialEq for UnevaluatedRule
Source§impl Serialize for UnevaluatedRule
impl Serialize for UnevaluatedRule
impl StructuralPartialEq for UnevaluatedRule
Auto Trait Implementations§
impl Freeze for UnevaluatedRule
impl RefUnwindSafe for UnevaluatedRule
impl Send for UnevaluatedRule
impl Sync for UnevaluatedRule
impl Unpin for UnevaluatedRule
impl UnsafeUnpin for UnevaluatedRule
impl UnwindSafe for UnevaluatedRule
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.