pub struct RuleMetadata {
pub id: &'static str,
pub title: &'static str,
pub severity: RuleSeverity,
pub description: &'static str,
pub fix_guidance: &'static str,
}Fields§
§id: &'static str§title: &'static str§severity: RuleSeverity§description: &'static str§fix_guidance: &'static strTrait Implementations§
Source§impl Clone for RuleMetadata
impl Clone for RuleMetadata
Source§fn clone(&self) -> RuleMetadata
fn clone(&self) -> RuleMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuleMetadata
impl Debug for RuleMetadata
impl Eq for RuleMetadata
Source§impl PartialEq for RuleMetadata
impl PartialEq for RuleMetadata
Source§fn eq(&self, other: &RuleMetadata) -> bool
fn eq(&self, other: &RuleMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RuleMetadata
impl Serialize for RuleMetadata
impl StructuralPartialEq for RuleMetadata
Auto Trait Implementations§
impl Freeze for RuleMetadata
impl RefUnwindSafe for RuleMetadata
impl Send for RuleMetadata
impl Sync for RuleMetadata
impl Unpin for RuleMetadata
impl UnsafeUnpin for RuleMetadata
impl UnwindSafe for RuleMetadata
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