pub struct ImplicitStringNumericCompare;Trait Implementations§
Source§impl Rule for ImplicitStringNumericCompare
impl Rule for ImplicitStringNumericCompare
fn meta(&self) -> &'static RuleMeta
fn check_expr(&self, expr: &Expr, ctx: &LintCtx<'_>, out: &mut Vec<Diagnostic>)
fn check_statement( &self, _stmt: &SqltStatement, _ctx: &LintCtx<'_>, _out: &mut Vec<Diagnostic>, )
Source§fn check_query(
&self,
_query: &Query,
_depth: usize,
_ctx: &LintCtx<'_>,
_out: &mut Vec<Diagnostic>,
)
fn check_query( &self, _query: &Query, _depth: usize, _ctx: &LintCtx<'_>, _out: &mut Vec<Diagnostic>, )
depth is 0 for the outermost Query of a statement and increases for
nested queries (subqueries, derived tables, CTEs, scalar subqueries).
Rules that should only flag nested constructs can guard on depth > 0.fn check_select( &self, _select: &Select, _ctx: &LintCtx<'_>, _out: &mut Vec<Diagnostic>, )
Auto Trait Implementations§
impl Freeze for ImplicitStringNumericCompare
impl RefUnwindSafe for ImplicitStringNumericCompare
impl Send for ImplicitStringNumericCompare
impl Sync for ImplicitStringNumericCompare
impl Unpin for ImplicitStringNumericCompare
impl UnsafeUnpin for ImplicitStringNumericCompare
impl UnwindSafe for ImplicitStringNumericCompare
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