pub struct Report {
pub dialect: String,
pub findings: Vec<Finding>,
pub taken_as_default: Vec<TakenAsDefault>,
}Expand description
The whole report for one dialect.
Fields§
§dialect: StringThe dialect’s registry name.
findings: Vec<Finding>Everything found, worst first.
taken_as_default: Vec<TakenAsDefault>The answers that shape a statement this dialect left to the
contract, in the order the bundle’s files run — see
taken_as_default.
Implementations§
Source§impl Report
impl Report
Sourcepub fn head(&self) -> String
pub fn head(&self) -> String
The report’s opening and its findings: what it read and what it ran, then each finding, worst first.
The Display of the report is this and then the answers left to the
contract; razeri plugin conform prints this and then the same answers
with how many of the engines Razeri ships write their own.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Report
impl Freeze for Report
impl Move for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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