pub struct RuleCommon {
pub severity: Severity,
pub only: Only,
pub line: usize,
}Expand description
Grammar rule-common plus only.
Fields§
§severity: SeverityError or warning.
only: OnlyWhen the rule applies.
line: usizeThe rule’s line in the schema.
Trait Implementations§
Source§impl Clone for RuleCommon
impl Clone for RuleCommon
Source§impl Debug for RuleCommon
impl Debug for RuleCommon
Source§impl Default for RuleCommon
impl Default for RuleCommon
impl Eq for RuleCommon
Source§impl PartialEq for RuleCommon
impl PartialEq for RuleCommon
impl StructuralPartialEq for RuleCommon
Auto Trait Implementations§
impl Freeze for RuleCommon
impl RefUnwindSafe for RuleCommon
impl Send for RuleCommon
impl Sync for RuleCommon
impl Unpin for RuleCommon
impl UnsafeUnpin for RuleCommon
impl UnwindSafe for RuleCommon
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