pub struct ScreenedRow {
pub path: String,
pub verdict: String,
pub field: String,
pub classes: Vec<String>,
pub detail: Vec<String>,
}Expand description
What the screen decided about one concept, flattened for JSON output.
Carries the finding classes and details, never the offending text: a report is read by the same people and the same tools a concept body reaches, and quoting a directive into it would defeat the point of withholding the body.
Fields§
§path: StringThe bundle-relative path.
verdict: Stringquarantine or block.
field: StringWhich part of the document was affected: body, title or
description.
classes: Vec<String>The finding classes, sorted.
detail: Vec<String>Human-readable details, one per finding.
Trait Implementations§
Source§impl Clone for ScreenedRow
impl Clone for ScreenedRow
Source§fn clone(&self) -> ScreenedRow
fn clone(&self) -> ScreenedRow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScreenedRow
impl Debug for ScreenedRow
impl Eq for ScreenedRow
Source§impl PartialEq for ScreenedRow
impl PartialEq for ScreenedRow
Source§impl Serialize for ScreenedRow
impl Serialize for ScreenedRow
impl StructuralPartialEq for ScreenedRow
Auto Trait Implementations§
impl Freeze for ScreenedRow
impl RefUnwindSafe for ScreenedRow
impl Send for ScreenedRow
impl Sync for ScreenedRow
impl Unpin for ScreenedRow
impl UnsafeUnpin for ScreenedRow
impl UnwindSafe for ScreenedRow
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.