pub struct ReportInputs<'a> {
pub findings: &'a [Finding],
pub coverage: Option<&'a CoverageMatrix>,
pub title: Option<&'a str>,
pub target: Option<&'a str>,
}Expand description
Optional inputs to render_html. findings is the only
required input; the rest enrich the dashboard with metadata
the corpus alone doesn’t carry.
Fields§
§findings: &'a [Finding]Findings to render. Typically corpus.list_findings().
coverage: Option<&'a CoverageMatrix>Optional coverage matrix; when Some, a coverage section is
added to the report.
title: Option<&'a str>Free-form title (e.g. the project name). Defaults to
mcp-wallfacer report when None.
target: Option<&'a str>Free-form server identifier (e.g. URL or package name).
Auto Trait Implementations§
impl<'a> Freeze for ReportInputs<'a>
impl<'a> RefUnwindSafe for ReportInputs<'a>
impl<'a> Send for ReportInputs<'a>
impl<'a> Sync for ReportInputs<'a>
impl<'a> Unpin for ReportInputs<'a>
impl<'a> UnsafeUnpin for ReportInputs<'a>
impl<'a> UnwindSafe for ReportInputs<'a>
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