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§

Source§

impl VisitMut for AddColumnLocation

Source§

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

Source§

impl VisitMut for FulltextAnalyzer

Source§

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

Source§

impl VisitMut for SkippingIndexType

Source§

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

§

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,

Source§

impl VisitMut for FulltextOptions

Source§

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

Source§

impl VisitMut for SkippingIndexOptions

Source§

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<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 SetIndexOperation

Source§

impl VisitMut for UnsetIndexOperation

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 FunctionArguments

§

impl VisitMut for SqlOption

§

impl VisitMut for sql::ast::TableConstraint

§

impl VisitMut for TimezoneInfo

§

impl VisitMut for Value

Source§

impl VisitMut for AddColumn

Source§

impl VisitMut for AlterDatabase

Source§

impl VisitMut for AlterTable

Source§

impl VisitMut for KeyValueOption

Source§

impl VisitMut for CopyDatabaseArgument

Source§

impl VisitMut for CopyQueryTo

Source§

impl VisitMut for CopyQueryToArgument

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 sql::statements::create::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 sql::statements::delete::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 sql::statements::insert::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 ShowSearchPath

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 Action

§

impl VisitMut for AddDropSync

§

impl VisitMut for AfterMatchSkip

§

impl VisitMut for AlterColumnOperation

§

impl VisitMut for AlterIndexOperation

§

impl VisitMut for AlterPolicyOperation

§

impl VisitMut for AlterRoleOperation

§

impl VisitMut for AlterTableOperation

§

impl VisitMut for AnalyzeFormat

§

impl VisitMut for ArgMode

§

impl VisitMut for Array

§

impl VisitMut for ArrayElemTypeDef

§

impl VisitMut for Assignment

§

impl VisitMut for AssignmentTarget

§

impl VisitMut for AttachDuckDBDatabaseOption

§

impl VisitMut for CastFormat

§

impl VisitMut for CastKind

§

impl VisitMut for CeilFloorKind

§

impl VisitMut for CharLengthUnits

§

impl VisitMut for CharacterLength

§

impl VisitMut for CloseCursor

§

impl VisitMut for ClusteredBy

§

impl VisitMut for ClusteredIndex

§

impl VisitMut for ColumnPolicy

§

impl VisitMut for ColumnPolicyProperty

§

impl VisitMut for CommentDef

§

impl VisitMut for CommentObject

§

impl VisitMut for ConflictTarget

§

impl VisitMut for ConnectBy

§

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 CreateIndex

§

impl VisitMut for CreatePolicyCommand

§

impl VisitMut for CreatePolicyType

§

impl VisitMut for CreateTable

§

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 Deduplicate

§

impl VisitMut for DeferrableInitial

§

impl VisitMut for Delete

§

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 DuplicateTreatment

§

impl VisitMut for EmptyMatchesMode

§

impl VisitMut for ExactNumberInfo

§

impl VisitMut for ExceptSelectItem

§

impl VisitMut for ExcludeSelectItem

§

impl VisitMut for ExprWithAlias

§

impl VisitMut for ExtractSyntax

§

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 FormatClause

§

impl VisitMut for FromTable

§

impl VisitMut for FunctionArgOperator

§

impl VisitMut for FunctionArgumentClause

§

impl VisitMut for FunctionArgumentList

§

impl VisitMut for FunctionBehavior

§

impl VisitMut for FunctionCalledOnNull

§

impl VisitMut for FunctionDesc

§

impl VisitMut for FunctionDeterminismSpecifier

§

impl VisitMut for FunctionParallel

§

impl VisitMut for GeneratedAs

§

impl VisitMut for GeneratedExpressionMode

§

impl VisitMut for GrantObjects

§

impl VisitMut for GroupByExpr

§

impl VisitMut for GroupByWithModifier

§

impl VisitMut for HavingBound

§

impl VisitMut for HavingBoundKind

§

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 IdentityParameters

§

impl VisitMut for IdentityProperty

§

impl VisitMut for IdentityPropertyFormatKind

§

impl VisitMut for IdentityPropertyKind

§

impl VisitMut for IdentityPropertyOrder

§

impl VisitMut for IlikeSelectItem

§

impl VisitMut for IndexOption

§

impl VisitMut for IndexType

§

impl VisitMut for Insert

§

impl VisitMut for InsertAliases

§

impl VisitMut for Interpolate

§

impl VisitMut for InterpolateExpr

§

impl VisitMut for Interval

§

impl VisitMut for Join

§

impl VisitMut for JoinConstraint

§

impl VisitMut for JoinOperator

§

impl VisitMut for JsonPath

§

impl VisitMut for JsonPathElem

§

impl VisitMut for JsonTableColumn

§

impl VisitMut for JsonTableColumnErrorHandling

§

impl VisitMut for JsonTableNamedColumn

§

impl VisitMut for JsonTableNestedColumn

§

impl VisitMut for KeyOrIndexDisplay

§

impl VisitMut for Keyword

§

impl VisitMut for KillType

§

impl VisitMut for LambdaFunction

§

impl VisitMut for LateralView

§

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 Map

§

impl VisitMut for MapAccessKey

§

impl VisitMut for MapAccessSyntax

§

impl VisitMut for MapEntry

§

impl VisitMut for MatchRecognizePattern

§

impl VisitMut for MatchRecognizeSymbol

§

impl VisitMut for Measure

§

impl VisitMut for MergeAction

§

impl VisitMut for MergeClause

§

impl VisitMut for MergeClauseKind

§

impl VisitMut for MergeInsertExpr

§

impl VisitMut for MergeInsertKind

§

impl VisitMut for MinMaxValue

§

impl VisitMut for MySQLColumnPosition

§

impl VisitMut for MysqlInsertPriority

§

impl VisitMut for NamedWindowDefinition

§

impl VisitMut for NamedWindowExpr

§

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 OrderBy

§

impl VisitMut for OrderByExpr

§

impl VisitMut for Owner

§

impl VisitMut for Partition

§

impl VisitMut for PartitionRangeDirection

§

impl VisitMut for Password

§

impl VisitMut for PivotValueSource

§

impl VisitMut for Privileges

§

impl VisitMut for ProcedureParam

§

impl VisitMut for ProjectionSelect

§

impl VisitMut for Query

§

impl VisitMut for ReferentialAction

§

impl VisitMut for RenameSelectItem

§

impl VisitMut for RepetitionQuantifier

§

impl VisitMut for ReplaceSelectElement

§

impl VisitMut for ReplaceSelectItem

§

impl VisitMut for ResetConfig

§

impl VisitMut for RoleOption

§

impl VisitMut for RowAccessPolicy

§

impl VisitMut for RowsPerMatch

§

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 Setting

§

impl VisitMut for ShowClause

§

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 StructBracketKind

§

impl VisitMut for StructField

§

impl VisitMut for Subscript

§

impl VisitMut for SymbolDefinition

§

impl VisitMut for Table

§

impl VisitMut for TableAlias

§

impl VisitMut for TableEngine

§

impl VisitMut for TableFactor

§

impl VisitMut for TableFunctionArgs

§

impl VisitMut for TableOptionsClustered

§

impl VisitMut for TableVersion

§

impl VisitMut for TableWithJoins

§

impl VisitMut for Tag

§

impl VisitMut for TagsColumnOption

§

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 TriggerEvent

§

impl VisitMut for TriggerExecBody

§

impl VisitMut for TriggerExecBodyType

§

impl VisitMut for TriggerObject

§

impl VisitMut for TriggerPeriod

§

impl VisitMut for TriggerReferencing

§

impl VisitMut for TriggerReferencingType

§

impl VisitMut for TrimWhereField

§

impl VisitMut for TruncateCascadeOption

§

impl VisitMut for TruncateIdentityOption

§

impl VisitMut for TruncateTableTarget

§

impl VisitMut for UnaryOperator

§

impl VisitMut for UnionField

§

impl VisitMut for Use

§

impl VisitMut for UserDefinedTypeCompositeAttributeDef

§

impl VisitMut for UserDefinedTypeRepresentation

§

impl VisitMut for UtilityOption

§

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 WithFill

§

impl VisitMut for Word

§

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

§

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