pub struct ReportRule<'a> {
pub name: &'a str,
pub severity: &'a str,
pub message: &'a str,
pub fix: &'a str,
}Expand description
The rule a finding is of, for a report’s template to write: its name, its severity, and the message and fix rendered for the finding.
Fields§
§name: &'a str§severity: &'a str§message: &'a str§fix: &'a strTrait Implementations§
Source§impl<'a> Clone for ReportRule<'a>
impl<'a> Clone for ReportRule<'a>
impl<'a> Copy for ReportRule<'a>
Source§impl<'a> Debug for ReportRule<'a>
impl<'a> Debug for ReportRule<'a>
impl<'a> Eq for ReportRule<'a>
Source§impl<'a> PartialEq for ReportRule<'a>
impl<'a> PartialEq for ReportRule<'a>
impl<'a> StructuralPartialEq for ReportRule<'a>
Auto Trait Implementations§
impl<'a> Freeze for ReportRule<'a>
impl<'a> RefUnwindSafe for ReportRule<'a>
impl<'a> Send for ReportRule<'a>
impl<'a> Sync for ReportRule<'a>
impl<'a> Unpin for ReportRule<'a>
impl<'a> UnsafeUnpin for ReportRule<'a>
impl<'a> UnwindSafe for ReportRule<'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