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
Auto Trait Implementations§
impl Forget for SanitizedReport
impl Freeze for SanitizedReportwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<AdvisoryWarning>: Freeze,
impl Move for SanitizedReport
impl RefUnwindSafe for SanitizedReport
impl Send for SanitizedReport
impl Sync for SanitizedReport
impl Unpin for SanitizedReport
impl UnsafeUnpin for SanitizedReportwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<AdvisoryWarning>: UnsafeUnpin,
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