pub struct LinterConfig {
pub check_unused_domains: bool,
pub check_orphan_predicates: bool,
pub check_domain_naming: bool,
pub check_predicate_naming: bool,
pub check_empty_domains: bool,
pub check_zero_arity: bool,
}Expand description
Configuration for the schema linter.
Fields§
§check_unused_domains: bool§check_orphan_predicates: bool§check_domain_naming: bool§check_predicate_naming: bool§check_empty_domains: bool§check_zero_arity: boolImplementations§
Source§impl LinterConfig
impl LinterConfig
Sourcepub fn all_enabled() -> Self
pub fn all_enabled() -> Self
Returns a config with all rules enabled.
Sourcepub fn all_disabled() -> Self
pub fn all_disabled() -> Self
Returns a config with all rules disabled.
Trait Implementations§
Source§impl Clone for LinterConfig
impl Clone for LinterConfig
Source§fn clone(&self) -> LinterConfig
fn clone(&self) -> LinterConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 LinterConfig
impl Debug for LinterConfig
Auto Trait Implementations§
impl Freeze for LinterConfig
impl RefUnwindSafe for LinterConfig
impl Send for LinterConfig
impl Sync for LinterConfig
impl Unpin for LinterConfig
impl UnsafeUnpin for LinterConfig
impl UnwindSafe for LinterConfig
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