pub struct RuleLT07;Trait Implementations§
source§impl Rule for RuleLT07
impl Rule for RuleLT07
fn load_from_config( &self, _config: &AHashMap<String, Value>, ) -> Result<ErasedRule, String>
fn name(&self) -> &'static str
fn description(&self) -> &'static str
fn long_description(&self) -> &'static str
source§fn groups(&self) -> &'static [RuleGroups]
fn groups(&self) -> &'static [RuleGroups]
All the groups this rule belongs to, including ‘all’ because that is a
given. There should be no duplicates and ‘all’ should be the first
element.
fn eval(&self, context: RuleContext<'_>) -> Vec<LintResult>
fn is_fix_compatible(&self) -> bool
fn crawl_behaviour(&self) -> Crawler
fn lint_phase(&self) -> LintPhase
fn config_ref(&self) -> &'static str
fn force_enable(&self) -> bool
source§fn dialect_skip(&self) -> &'static [DialectKind]
fn dialect_skip(&self) -> &'static [DialectKind]
Returns the set of dialects for which a particular rule should be
skipped.
fn code(&self) -> &'static str
fn crawl( &self, tables: &Tables, dialect: &Dialect, fix: bool, tree: ErasedSegment, config: &FluffConfig, ) -> (Vec<SQLLintError>, Vec<LintFix>)
fn process_lint_result( &self, res: LintResult, new_lerrs: &mut Vec<SQLLintError>, new_fixes: &mut Vec<LintFix>, )
Auto Trait Implementations§
impl Freeze for RuleLT07
impl RefUnwindSafe for RuleLT07
impl Send for RuleLT07
impl Sync for RuleLT07
impl Unpin for RuleLT07
impl UnwindSafe for RuleLT07
Blanket Implementations§
source§impl<T> AsAnyMut for Twhere
T: Any,
impl<T> AsAnyMut for Twhere
T: Any,
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more