pub struct SanitizedReport {
pub report: Value,
pub warnings: Vec<AdvisoryWarning>,
}Expand description
The result of sanitize_report_advisory: a report with malformed advisory
sections removed, plus the machine-readable AdvisoryWarnings describing
every drop.
Fields§
§report: ValueThe report with malformed advisory fields/elements dropped. Required and correctness-bearing fields are untouched (they were validated strictly).
warnings: Vec<AdvisoryWarning>One entry per dropped advisory field or element; empty when nothing was dropped (the report validated cleanly).
Trait Implementations§
Source§impl Clone for SanitizedReport
impl Clone for SanitizedReport
Source§fn clone(&self) -> SanitizedReport
fn clone(&self) -> SanitizedReport
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 moreAuto Trait Implementations§
impl Freeze for SanitizedReport
impl RefUnwindSafe for SanitizedReport
impl Send for SanitizedReport
impl Sync for SanitizedReport
impl Unpin for SanitizedReport
impl UnsafeUnpin for SanitizedReport
impl UnwindSafe for SanitizedReport
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