sql::ast

Trait VisitMut

pub trait VisitMut {
    // Required method
    fn visit<V>(
        &mut self,
        visitor: &mut V,
    ) -> ControlFlow<<V as VisitorMut>::Break>
       where V: VisitorMut;
}
Expand description

A type that can be visited by a VisitorMut. See VisitorMut for recursively visiting parsed SQL statements.

§Note

This trait should be automatically derived for sqlparser AST nodes using the VisitMut proc macro.

#[cfg_attr(feature = "visitor", derive(Visit, VisitMut))]

Required Methods§

fn visit<V>(&mut self, visitor: &mut V) -> ControlFlow<<V as VisitorMut>::Break>
where V: VisitorMut,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

§

impl VisitMut for bool

§

fn visit<V>( &mut self, _visitor: &mut V, ) -> ControlFlow<<V as VisitorMut>::Break>
where V: VisitorMut,

§

impl VisitMut for char

§

fn visit<V>( &mut self, _visitor: &mut V, ) -> ControlFlow<<V as VisitorMut>::Break>
where V: VisitorMut,

§

impl VisitMut for i8

§

fn visit<V>( &mut self, _visitor: &mut V, ) -> ControlFlow<<V as VisitorMut>::Break>
where V: VisitorMut,

§

impl VisitMut for i16

§

fn visit<V>( &mut self, _visitor: &mut V, ) -> ControlFlow<<V as VisitorMut>::Break>
where V: VisitorMut,

§

impl VisitMut for i32

§

fn visit<V>( &mut self, _visitor: &mut V, ) -> ControlFlow<<V as VisitorMut>::Break>
where V: VisitorMut,

§

impl VisitMut for i64

§

fn visit<V>( &mut self, _visitor: &mut V, ) -> ControlFlow<<V as VisitorMut>::Break>
where V: VisitorMut,

§

impl VisitMut for u8

§

fn visit<V>( &mut self, _visitor: &mut V, ) -> ControlFlow<<V as VisitorMut>::Break>
where V: VisitorMut,

§

impl VisitMut for u16

§

fn visit<V>( &mut self, _visitor: &mut V, ) -> ControlFlow<<V as VisitorMut>::Break>
where V: VisitorMut,

§

impl VisitMut for u32

§

fn visit<V>( &mut self, _visitor: &mut V, ) -> ControlFlow<<V as VisitorMut>::Break>
where V: VisitorMut,

§

impl VisitMut for u64

§

fn visit<V>( &mut self, _visitor: &mut V, ) -> ControlFlow<<V as VisitorMut>::Break>
where V: VisitorMut,

§

impl VisitMut for String

§

fn visit<V>( &mut self, _visitor: &mut V, ) -> ControlFlow<<V as VisitorMut>::Break>
where V: VisitorMut,

§

impl VisitMut for AddColumnLocation

§

fn visit<V>(&mut self, visitor: &mut V) -> ControlFlow<<V as VisitorMut>::Break>
where V: VisitorMut,

§

impl VisitMut for FulltextAnalyzer

§

fn visit<V>(&mut self, visitor: &mut V) -> ControlFlow<<V as VisitorMut>::Break>
where V: VisitorMut,

§

impl VisitMut for FulltextOptions

§

fn visit<V>(&mut self, visitor: &mut V) -> ControlFlow<<V as VisitorMut>::Break>
where V: VisitorMut,

§

impl VisitMut for SkippingIndexOptions

§

fn visit<V>(&mut self, visitor: &mut V) -> ControlFlow<<V as VisitorMut>::Break>
where V: VisitorMut,

§

impl VisitMut for SkippingIndexType

§

fn visit<V>(&mut self, visitor: &mut V) -> ControlFlow<<V as VisitorMut>::Break>
where V: VisitorMut,

§

impl<T> VisitMut for Option<T>
where T: VisitMut,

§

fn visit<V>(&mut self, visitor: &mut V) -> ControlFlow<<V as VisitorMut>::Break>
where V: VisitorMut,

§

impl<T> VisitMut for Box<T>
where T: VisitMut,

§

fn visit<V>(&mut self, visitor: &mut V) -> ControlFlow<<V as VisitorMut>::Break>
where V: VisitorMut,

§

impl<T> VisitMut for Vec<T>
where T: VisitMut,

§

fn visit<V>(&mut self, visitor: &mut V) -> ControlFlow<<V as VisitorMut>::Break>
where V: VisitorMut,

Implementors§

source§

impl VisitMut for Admin

source§

impl VisitMut for AlterDatabaseOperation

source§

impl VisitMut for sql::statements::alter::AlterTableOperation

source§

impl VisitMut for Copy

source§

impl VisitMut for CopyDatabase

source§

impl VisitMut for CopyTable

source§

impl VisitMut for sql::statements::create::TableConstraint

source§

impl VisitMut for ShowCreateTableVariant

source§

impl VisitMut for ShowKind

source§

impl VisitMut for sql::statements::statement::Statement

source§

impl VisitMut for Tql

§

impl VisitMut for BinaryOperator

§

impl VisitMut for ColumnOption

§

impl VisitMut for DataType

§

impl VisitMut for Expr

§

impl VisitMut for FunctionArg

§

impl VisitMut for FunctionArgExpr

§

impl VisitMut for sql::ast::TableConstraint

§

impl VisitMut for TimezoneInfo

§

impl VisitMut for Value

source§

impl VisitMut for AlterDatabase

source§

impl VisitMut for AlterTable

source§

impl VisitMut for KeyValueOption

source§

impl VisitMut for CopyDatabaseArgument

source§

impl VisitMut for CopyTableArgument

source§

impl VisitMut for Column

source§

impl VisitMut for ColumnExtensions

source§

impl VisitMut for CreateDatabase

source§

impl VisitMut for CreateExternalTable

source§

impl VisitMut for CreateFlow

source§

impl VisitMut for CreateTable

source§

impl VisitMut for CreateTableLike

source§

impl VisitMut for CreateView

source§

impl VisitMut for PartitionEntry

source§

impl VisitMut for Partitions

source§

impl VisitMut for sql::statements::cursor::CloseCursor

source§

impl VisitMut for DeclareCursor

source§

impl VisitMut for FetchCursor

source§

impl VisitMut for Delete

source§

impl VisitMut for DescribeTable

source§

impl VisitMut for DropDatabase

source§

impl VisitMut for DropFlow

source§

impl VisitMut for DropTable

source§

impl VisitMut for DropView

source§

impl VisitMut for Explain

source§

impl VisitMut for Insert

source§

impl VisitMut for OptionMap

source§

impl VisitMut for sql::statements::query::Query

source§

impl VisitMut for SetVariables

source§

impl VisitMut for ShowColumns

source§

impl VisitMut for ShowCreateDatabase

source§

impl VisitMut for ShowCreateFlow

source§

impl VisitMut for ShowCreateTable

source§

impl VisitMut for ShowCreateView

source§

impl VisitMut for ShowDatabases

source§

impl VisitMut for ShowFlows

source§

impl VisitMut for ShowIndex

source§

impl VisitMut for ShowStatus

source§

impl VisitMut for ShowTableStatus

source§

impl VisitMut for ShowTables

source§

impl VisitMut for ShowVariables

source§

impl VisitMut for ShowViews

source§

impl VisitMut for TqlAnalyze

source§

impl VisitMut for TqlEval

source§

impl VisitMut for TqlExplain

source§

impl VisitMut for TruncateTable

§

impl VisitMut for ColumnDef

§

impl VisitMut for ColumnOptionDef

§

impl VisitMut for Function

§

impl VisitMut for Ident

§

impl VisitMut for ObjectName

§

impl VisitMut for SqlOption

§

impl VisitMut for Action

§

impl VisitMut for AddDropSync

§

impl VisitMut for AlterColumnOperation

§

impl VisitMut for AlterIndexOperation

§

impl VisitMut for AlterRoleOperation

§

impl VisitMut for AlterTableOperation

§

impl VisitMut for AnalyzeFormat

§

impl VisitMut for ArgMode

§

impl VisitMut for Array

§

impl VisitMut for ArrayAgg

§

impl VisitMut for ArrayElemTypeDef

§

impl VisitMut for Assignment

§

impl VisitMut for AttachDuckDBDatabaseOption

§

impl VisitMut for CastFormat

§

impl VisitMut for CharLengthUnits

§

impl VisitMut for CharacterLength

§

impl VisitMut for CloseCursor

§

impl VisitMut for CommentObject

§

impl VisitMut for ConflictTarget

§

impl VisitMut for ConstraintCharacteristics

§

impl VisitMut for ContextModifier

§

impl VisitMut for CopyLegacyCsvOption

§

impl VisitMut for CopyLegacyOption

§

impl VisitMut for CopyOption

§

impl VisitMut for CopySource

§

impl VisitMut for CopyTarget

§

impl VisitMut for CreateFunctionBody

§

impl VisitMut for CreateFunctionUsing

§

impl VisitMut for CreateTableBuilder

§

impl VisitMut for CreateTableOptions

§

impl VisitMut for Cte

§

impl VisitMut for CteAsMaterialized

§

impl VisitMut for DataLoadingOption

§

impl VisitMut for DataLoadingOptionType

§

impl VisitMut for DataLoadingOptions

§

impl VisitMut for DateTimeField

§

impl VisitMut for Declare

§

impl VisitMut for DeclareAssignment

§

impl VisitMut for DeclareType

§

impl VisitMut for DeferrableInitial

§

impl VisitMut for DescribeAlias

§

impl VisitMut for DictionaryField

§

impl VisitMut for DiscardObject

§

impl VisitMut for Distinct

§

impl VisitMut for DoUpdate

§

impl VisitMut for DollarQuotedString

§

impl VisitMut for DropFunctionDesc

§

impl VisitMut for ExactNumberInfo

§

impl VisitMut for ExceptSelectItem

§

impl VisitMut for ExcludeSelectItem

§

impl VisitMut for Fetch

§

impl VisitMut for FetchDirection

§

impl VisitMut for FileFormat

§

impl VisitMut for FlushLocation

§

impl VisitMut for FlushType

§

impl VisitMut for ForClause

§

impl VisitMut for ForJson

§

impl VisitMut for ForXml

§

impl VisitMut for FromTable

§

impl VisitMut for FunctionArgOperator

§

impl VisitMut for FunctionBehavior

§

impl VisitMut for FunctionCalledOnNull

§

impl VisitMut for FunctionDefinition

§

impl VisitMut for FunctionParallel

§

impl VisitMut for GeneratedAs

§

impl VisitMut for GeneratedExpressionMode

§

impl VisitMut for GrantObjects

§

impl VisitMut for GroupByExpr

§

impl VisitMut for HiveDelimiter

§

impl VisitMut for HiveDescribeFormat

§

impl VisitMut for HiveDistributionStyle

§

impl VisitMut for HiveFormat

§

impl VisitMut for HiveIOFormat

§

impl VisitMut for HiveRowDelimiter

§

impl VisitMut for HiveRowFormat

§

impl VisitMut for HiveSetLocation

§

impl VisitMut for IdentWithAlias

§

impl VisitMut for IndexOption

§

impl VisitMut for IndexType

§

impl VisitMut for InsertAliases

§

impl VisitMut for Interval

§

impl VisitMut for Join

§

impl VisitMut for JoinConstraint

§

impl VisitMut for JoinOperator

§

impl VisitMut for JsonOperator

§

impl VisitMut for JsonTableColumn

§

impl VisitMut for JsonTableColumnErrorHandling

§

impl VisitMut for KeyOrIndexDisplay

§

impl VisitMut for Keyword

§

impl VisitMut for KillType

§

impl VisitMut for LateralView

§

impl VisitMut for ListAgg

§

impl VisitMut for ListAggOnOverflow

§

impl VisitMut for LockClause

§

impl VisitMut for LockTable

§

impl VisitMut for LockTableType

§

impl VisitMut for LockType

§

impl VisitMut for MacroArg

§

impl VisitMut for MacroDefinition

§

impl VisitMut for MapAccessKey

§

impl VisitMut for MapAccessSyntax

§

impl VisitMut for MergeClause

§

impl VisitMut for MinMaxValue

§

impl VisitMut for MySQLColumnPosition

§

impl VisitMut for MysqlInsertPriority

§

impl VisitMut for NamedWindowDefinition

§

impl VisitMut for NonBlock

§

impl VisitMut for NullTreatment

§

impl VisitMut for ObjectType

§

impl VisitMut for Offset

§

impl VisitMut for OffsetRows

§

impl VisitMut for OnCommit

§

impl VisitMut for OnConflict

§

impl VisitMut for OnConflictAction

§

impl VisitMut for OnInsert

§

impl VisitMut for OperateFunctionArg

§

impl VisitMut for OrderByExpr

§

impl VisitMut for Partition

§

impl VisitMut for Password

§

impl VisitMut for Privileges

§

impl VisitMut for ProcedureParam

§

impl VisitMut for Query

§

impl VisitMut for ReferentialAction

§

impl VisitMut for RenameSelectItem

§

impl VisitMut for ReplaceSelectElement

§

impl VisitMut for ReplaceSelectItem

§

impl VisitMut for ResetConfig

§

impl VisitMut for RoleOption

§

impl VisitMut for SchemaName

§

impl VisitMut for SearchModifier

§

impl VisitMut for SecretOption

§

impl VisitMut for Select

§

impl VisitMut for SelectInto

§

impl VisitMut for SelectItem

§

impl VisitMut for SequenceOptions

§

impl VisitMut for SetConfigValue

§

impl VisitMut for SetExpr

§

impl VisitMut for SetOperator

§

impl VisitMut for SetQuantifier

§

impl VisitMut for ShowCreateObject

§

impl VisitMut for ShowStatementFilter

§

impl VisitMut for SqliteOnConflict

§

impl VisitMut for StageLoadSelectItem

§

impl VisitMut for StageParamsObject

§

impl VisitMut for Statement

§

impl VisitMut for StructField

§

impl VisitMut for Table

§

impl VisitMut for TableAlias

§

impl VisitMut for TableFactor

§

impl VisitMut for TableVersion

§

impl VisitMut for TableWithJoins

§

impl VisitMut for Token

§

impl VisitMut for Top

§

impl VisitMut for TopQuantity

§

impl VisitMut for TransactionAccessMode

§

impl VisitMut for TransactionIsolationLevel

§

impl VisitMut for TransactionMode

§

impl VisitMut for TransactionModifier

§

impl VisitMut for TrimWhereField

§

impl VisitMut for UnaryOperator

§

impl VisitMut for UserDefinedTypeCompositeAttributeDef

§

impl VisitMut for UserDefinedTypeRepresentation

§

impl VisitMut for ValueTableMode

§

impl VisitMut for Values

§

impl VisitMut for ViewColumnDef

§

impl VisitMut for Whitespace

§

impl VisitMut for WildcardAdditionalOptions

§

impl VisitMut for WindowFrame

§

impl VisitMut for WindowFrameBound

§

impl VisitMut for WindowFrameUnits

§

impl VisitMut for WindowSpec

§

impl VisitMut for WindowType

§

impl VisitMut for With

§

impl VisitMut for Word