pub struct AuditStylingContextLabelInput<'a> {
pub severity: AuditDisplaySeverity,
pub rule: &'a str,
pub base_state: Option<&'a str>,
pub gate: AuditDisplayGate,
}Expand description
Inputs for styling_audit_context_label, describing one styling rule’s gate state.
Fields§
§severity: AuditDisplaySeverityConfigured severity of the styling rule.
rule: &'a strConfig key of the rule, e.g. rules.css-selector-complexity.
base_state: Option<&'a str>Human-readable description of the diff-base state, e.g. “inherited styling debt from HEAD”.
gate: AuditDisplayGateWhether the rule gates on new findings only or on all findings.
Trait Implementations§
Source§impl<'a> Clone for AuditStylingContextLabelInput<'a>
impl<'a> Clone for AuditStylingContextLabelInput<'a>
impl<'a> Copy for AuditStylingContextLabelInput<'a>
Source§impl<'a> Debug for AuditStylingContextLabelInput<'a>
impl<'a> Debug for AuditStylingContextLabelInput<'a>
impl<'a> Eq for AuditStylingContextLabelInput<'a>
Source§impl<'a> PartialEq for AuditStylingContextLabelInput<'a>
impl<'a> PartialEq for AuditStylingContextLabelInput<'a>
impl<'a> StructuralPartialEq for AuditStylingContextLabelInput<'a>
Auto Trait Implementations§
impl<'a> Freeze for AuditStylingContextLabelInput<'a>
impl<'a> RefUnwindSafe for AuditStylingContextLabelInput<'a>
impl<'a> Send for AuditStylingContextLabelInput<'a>
impl<'a> Sync for AuditStylingContextLabelInput<'a>
impl<'a> Unpin for AuditStylingContextLabelInput<'a>
impl<'a> UnsafeUnpin for AuditStylingContextLabelInput<'a>
impl<'a> UnwindSafe for AuditStylingContextLabelInput<'a>
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§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.