pub struct LintStatement<'a> {
pub statement: &'a Statement,
pub statement_index: usize,
pub statement_range: Range<usize>,
}Expand description
A parsed statement entry within a lint document.
Fields§
§statement: &'a StatementParsed statement AST.
statement_index: usizeZero-based statement index in the overall analysis batch.
statement_range: Range<usize>Byte range of the statement within the source SQL.
Auto Trait Implementations§
impl<'a> Freeze for LintStatement<'a>
impl<'a> RefUnwindSafe for LintStatement<'a>
impl<'a> Send for LintStatement<'a>
impl<'a> Sync for LintStatement<'a>
impl<'a> Unpin for LintStatement<'a>
impl<'a> UnsafeUnpin for LintStatement<'a>
impl<'a> UnwindSafe for LintStatement<'a>
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