pub struct ResolvedRuleOverride {
pub enabled: bool,
pub severity: Option<Severity>,
}Expand description
Resolved effective override state for a single (path, rule) pair.
Fields§
§enabled: boolWhether this rule is enabled for the path.
severity: Option<Severity>Optional severity override.
Trait Implementations§
Source§impl Clone for ResolvedRuleOverride
impl Clone for ResolvedRuleOverride
Source§fn clone(&self) -> ResolvedRuleOverride
fn clone(&self) -> ResolvedRuleOverride
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 ResolvedRuleOverride
Source§impl Debug for ResolvedRuleOverride
impl Debug for ResolvedRuleOverride
Source§impl Default for ResolvedRuleOverride
impl Default for ResolvedRuleOverride
impl Eq for ResolvedRuleOverride
Source§impl PartialEq for ResolvedRuleOverride
impl PartialEq for ResolvedRuleOverride
Source§fn eq(&self, other: &ResolvedRuleOverride) -> bool
fn eq(&self, other: &ResolvedRuleOverride) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolvedRuleOverride
Auto Trait Implementations§
impl Freeze for ResolvedRuleOverride
impl RefUnwindSafe for ResolvedRuleOverride
impl Send for ResolvedRuleOverride
impl Sync for ResolvedRuleOverride
impl Unpin for ResolvedRuleOverride
impl UnsafeUnpin for ResolvedRuleOverride
impl UnwindSafe for ResolvedRuleOverride
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