pub struct RuleMetadataEntry {
pub category: Option<String>,
pub description: String,
pub severity: Severity,
pub origin: RuleOrigin,
}Expand description
Owned metadata for a single rule, used in engine metadata maps.
Fields§
§category: Option<String>§description: String§severity: Severity§origin: RuleOriginTrait Implementations§
Source§impl Clone for RuleMetadataEntry
impl Clone for RuleMetadataEntry
Source§impl Debug for RuleMetadataEntry
impl Debug for RuleMetadataEntry
Source§impl PartialEq for RuleMetadataEntry
impl PartialEq for RuleMetadataEntry
impl StructuralPartialEq for RuleMetadataEntry
Auto Trait Implementations§
impl Freeze for RuleMetadataEntry
impl RefUnwindSafe for RuleMetadataEntry
impl Send for RuleMetadataEntry
impl Sync for RuleMetadataEntry
impl Unpin for RuleMetadataEntry
impl UnsafeUnpin for RuleMetadataEntry
impl UnwindSafe for RuleMetadataEntry
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