pub struct MetaRule {
pub name: Option<String>,
pub description: Option<String>,
pub docs: Option<String>,
}Expand description
Single-rule definition inside Meta::rules.
Fields§
§name: Option<String>Human-readable rule name.
description: Option<String>What this rule detects.
docs: Option<String>URL to the rule documentation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MetaRule
impl RefUnwindSafe for MetaRule
impl Send for MetaRule
impl Sync for MetaRule
impl Unpin for MetaRule
impl UnsafeUnpin for MetaRule
impl UnwindSafe for MetaRule
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