#[non_exhaustive]pub struct FindingsResult {
pub findings: Vec<Finding>,
pub not_evaluated: Vec<UnevaluatedRule>,
}Expand description
What FindingPolicy::evaluate found.
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.findings: Vec<Finding>Every finding, most severe first. Within a severity: by code, then report-level before column-level, then by column position in the report, then by pattern name.
not_evaluated: Vec<UnevaluatedRule>Every rule that could not look, by code then reason. A rule listed here for some columns was still evaluated for the others.
Trait Implementations§
Source§impl Clone for FindingsResult
impl Clone for FindingsResult
Source§impl Debug for FindingsResult
impl Debug for FindingsResult
Source§impl PartialEq for FindingsResult
impl PartialEq for FindingsResult
Source§impl Serialize for FindingsResult
impl Serialize for FindingsResult
impl StructuralPartialEq for FindingsResult
Auto Trait Implementations§
impl Freeze for FindingsResult
impl RefUnwindSafe for FindingsResult
impl Send for FindingsResult
impl Sync for FindingsResult
impl Unpin for FindingsResult
impl UnsafeUnpin for FindingsResult
impl UnwindSafe for FindingsResult
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