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