pub struct CountOfNullableColumn;Trait Implementations§
Source§impl Rule for CountOfNullableColumn
impl Rule for CountOfNullableColumn
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 CountOfNullableColumn
impl RefUnwindSafe for CountOfNullableColumn
impl Send for CountOfNullableColumn
impl Sync for CountOfNullableColumn
impl Unpin for CountOfNullableColumn
impl UnsafeUnpin for CountOfNullableColumn
impl UnwindSafe for CountOfNullableColumn
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