pub struct RuleCatalogEntry {
pub id: &'static str,
pub description: &'static str,
pub evidence: &'static [&'static str],
pub default_severity: DiagnosticSeverity,
pub category: DiagnosticCategory,
pub default_enabled: bool,
pub default_profile: AnalysisRuleProfile,
pub origin: RuleOrigin,
pub configurable: bool,
pub fixable: bool,
}Fields§
§id: &'static str§description: &'static str§evidence: &'static [&'static str]§default_severity: DiagnosticSeverity§category: DiagnosticCategory§default_enabled: bool§default_profile: AnalysisRuleProfile§origin: RuleOrigin§configurable: bool§fixable: boolTrait Implementations§
Source§impl Clone for RuleCatalogEntry
impl Clone for RuleCatalogEntry
Source§fn clone(&self) -> RuleCatalogEntry
fn clone(&self) -> RuleCatalogEntry
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 moreimpl Copy for RuleCatalogEntry
Source§impl Debug for RuleCatalogEntry
impl Debug for RuleCatalogEntry
impl Eq for RuleCatalogEntry
Source§impl PartialEq for RuleCatalogEntry
impl PartialEq for RuleCatalogEntry
Source§fn eq(&self, other: &RuleCatalogEntry) -> bool
fn eq(&self, other: &RuleCatalogEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RuleCatalogEntry
impl Serialize for RuleCatalogEntry
impl StructuralPartialEq for RuleCatalogEntry
Auto Trait Implementations§
impl Freeze for RuleCatalogEntry
impl RefUnwindSafe for RuleCatalogEntry
impl Send for RuleCatalogEntry
impl Sync for RuleCatalogEntry
impl Unpin for RuleCatalogEntry
impl UnsafeUnpin for RuleCatalogEntry
impl UnwindSafe for RuleCatalogEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.