pub struct RuleMeta {
pub rule_id: &'static str,
pub category: &'static str,
pub severity: Severity,
pub message_template: &'static str,
pub authority: &'static str,
pub authority_ref: &'static str,
pub explanation: &'static str,
pub inspects: &'static [&'static str],
pub auto_fixable: bool,
pub confidence: &'static str,
pub guide_section: &'static str,
pub guide_url: Option<&'static str>,
}Fields§
§rule_id: &'static str§category: &'static str§severity: Severity§message_template: &'static str§explanation: &'static str§inspects: &'static [&'static str]§auto_fixable: bool§confidence: &'static strMeasured-precision confidence tier: “high” / “medium” / “low”. “high” is the catalogue default for rules without a narrowed tier.
guide_section: &'static strJSS author-guide section label; “” for tool-side / un-backfilled rules.
guide_url: Option<&'static str>Absolute URL into the public JSS author guide; None for
tool-side / un-backfilled rules.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RuleMeta
impl RefUnwindSafe for RuleMeta
impl Send for RuleMeta
impl Sync for RuleMeta
impl Unpin for RuleMeta
impl UnsafeUnpin for RuleMeta
impl UnwindSafe for RuleMeta
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