Skip to main content

FeatureDelta

Struct FeatureDelta 

Source
pub struct FeatureDelta {
Show 48 fields pub identifier_casing: Option<Casing>, pub identifier_quotes: Option<&'static [IdentifierQuote]>, pub default_null_ordering: Option<NullOrdering>, pub reserved_column_name: Option<KeywordSet>, pub reserved_function_name: Option<KeywordSet>, pub reserved_type_name: Option<KeywordSet>, pub reserved_bare_alias: Option<KeywordSet>, pub reserved_as_label: Option<KeywordSet>, pub catalog_qualified_names: Option<bool>, pub byte_classes: Option<ByteClasses>, pub binding_powers: Option<BindingPowerTable>, pub set_operation_powers: Option<SetOperationBindingPowerTable>, pub string_literals: Option<StringLiteralSyntax>, pub numeric_literals: Option<NumericLiteralSyntax>, pub parameters: Option<ParameterSyntax>, pub session_variables: Option<SessionVariableSyntax>, pub identifier_syntax: Option<IdentifierSyntax>, pub table_expressions: Option<TableExpressionSyntax>, pub join_syntax: Option<JoinSyntax>, pub table_factor_syntax: Option<TableFactorSyntax>, pub expression_syntax: Option<ExpressionSyntax>, pub operator_syntax: Option<OperatorSyntax>, pub call_syntax: Option<CallSyntax>, pub string_func_forms: Option<StringFuncForms>, pub aggregate_call_syntax: Option<AggregateCallSyntax>, pub predicate_syntax: Option<PredicateSyntax>, pub pipe_operator: Option<PipeOperator>, pub double_ampersand: Option<DoubleAmpersand>, pub keyword_operators: Option<KeywordOperators>, pub caret_operator: Option<CaretOperator>, pub hash_bitwise_xor: Option<bool>, pub comment_syntax: Option<CommentSyntax>, pub mutation_syntax: Option<MutationSyntax>, pub statement_ddl_gates: Option<StatementDdlGates>, pub create_table_clause_syntax: Option<CreateTableClauseSyntax>, pub column_definition_syntax: Option<ColumnDefinitionSyntax>, pub constraint_syntax: Option<ConstraintSyntax>, pub index_alter_syntax: Option<IndexAlterSyntax>, pub existence_guards: Option<ExistenceGuards>, pub select_syntax: Option<SelectSyntax>, pub query_tail_syntax: Option<QueryTailSyntax>, pub grouping_syntax: Option<GroupingSyntax>, pub utility_syntax: Option<UtilitySyntax>, pub show_syntax: Option<ShowSyntax>, pub maintenance_syntax: Option<MaintenanceSyntax>, pub access_control_syntax: Option<AccessControlSyntax>, pub type_name_syntax: Option<TypeNameSyntax>, pub target_spelling: Option<TargetSpelling>,
}
Expand description

Explicit customizations applied to a base FeatureSet.

Applied by FeatureSet::with (unchecked) or FeatureSet::try_with, which returns the first LexicalConflict a delta would introduce; see FeatureSet::lexical_conflict for the shared-trigger hazards a delta can create.

Fields§

§identifier_casing: Option<Casing>

Override for the identifier_casing dialect-data dimension; None preserves the base value.

§identifier_quotes: Option<&'static [IdentifierQuote]>

Override for the identifier_quote dialect-data dimension; None preserves the base value.

§default_null_ordering: Option<NullOrdering>

Override for the default_null_ordering dialect-data dimension; None preserves the base value.

§reserved_column_name: Option<KeywordSet>

Override for the reserved_column_name dialect-data dimension; None preserves the base value.

§reserved_function_name: Option<KeywordSet>

Override for the reserved_function_name dialect-data dimension; None preserves the base value.

§reserved_type_name: Option<KeywordSet>

Override for the reserved_type_name dialect-data dimension; None preserves the base value.

§reserved_bare_alias: Option<KeywordSet>

Override for the reserved_bare_alias dialect-data dimension; None preserves the base value.

§reserved_as_label: Option<KeywordSet>

Override for the reserved_as_label dialect-data dimension; None preserves the base value.

§catalog_qualified_names: Option<bool>

Override for the catalog_qualified_names dialect-data dimension; None preserves the base value.

§byte_classes: Option<ByteClasses>

Override for the byte_classes dialect-data dimension; None preserves the base value.

§binding_powers: Option<BindingPowerTable>

Override for the binding_powers dialect-data dimension; None preserves the base value.

§set_operation_powers: Option<SetOperationBindingPowerTable>

Override for the set_operation_powers dialect-data dimension; None preserves the base value.

§string_literals: Option<StringLiteralSyntax>

Override for the string_literals dialect-data dimension; None preserves the base value.

§numeric_literals: Option<NumericLiteralSyntax>

Override for the numeric_literals dialect-data dimension; None preserves the base value.

§parameters: Option<ParameterSyntax>

Override for the parameters dialect-data dimension; None preserves the base value.

§session_variables: Option<SessionVariableSyntax>

Override for the session_variables dialect-data dimension; None preserves the base value.

§identifier_syntax: Option<IdentifierSyntax>

Override for the identifier_syntax dialect-data dimension; None preserves the base value.

§table_expressions: Option<TableExpressionSyntax>

Override for the table_expressions dialect-data dimension; None preserves the base value.

§join_syntax: Option<JoinSyntax>

Override for the join_syntax dialect-data dimension; None preserves the base value.

§table_factor_syntax: Option<TableFactorSyntax>

Override for the table_factor_syntax dialect-data dimension; None preserves the base value.

§expression_syntax: Option<ExpressionSyntax>

Override for the expression_syntax dialect-data dimension; None preserves the base value.

§operator_syntax: Option<OperatorSyntax>

Override for the operator_syntax dialect-data dimension; None preserves the base value.

§call_syntax: Option<CallSyntax>

Override for the call_syntax dialect-data dimension; None preserves the base value.

§string_func_forms: Option<StringFuncForms>

Override for the string_func_forms dialect-data dimension; None preserves the base value.

§aggregate_call_syntax: Option<AggregateCallSyntax>

Override for the aggregate_call_syntax dialect-data dimension; None preserves the base value.

§predicate_syntax: Option<PredicateSyntax>

Override for the predicate_syntax dialect-data dimension; None preserves the base value.

§pipe_operator: Option<PipeOperator>

Override for the pipe_operator dialect-data dimension; None preserves the base value.

§double_ampersand: Option<DoubleAmpersand>

Override for the double_ampersand dialect-data dimension; None preserves the base value.

§keyword_operators: Option<KeywordOperators>

Override for the keyword_operators dialect-data dimension; None preserves the base value.

§caret_operator: Option<CaretOperator>

Override for the caret_operator dialect-data dimension; None preserves the base value.

§hash_bitwise_xor: Option<bool>

Override for the hash_bitwise_xor dialect-data dimension; None preserves the base value.

§comment_syntax: Option<CommentSyntax>

Override for the comment_syntax dialect-data dimension; None preserves the base value.

§mutation_syntax: Option<MutationSyntax>

Override for the mutation_syntax dialect-data dimension; None preserves the base value.

§statement_ddl_gates: Option<StatementDdlGates>

Override for the statement_ddl_gates dialect-data dimension; None preserves the base value.

§create_table_clause_syntax: Option<CreateTableClauseSyntax>

Override for the create_table_clause_syntax dialect-data dimension; None preserves the base value.

§column_definition_syntax: Option<ColumnDefinitionSyntax>

Override for the column_definition_syntax dialect-data dimension; None preserves the base value.

§constraint_syntax: Option<ConstraintSyntax>

Override for the constraint_syntax dialect-data dimension; None preserves the base value.

§index_alter_syntax: Option<IndexAlterSyntax>

Override for the index_alter_syntax dialect-data dimension; None preserves the base value.

§existence_guards: Option<ExistenceGuards>

Override for the existence_guards dialect-data dimension; None preserves the base value.

§select_syntax: Option<SelectSyntax>

Override for the select_syntax dialect-data dimension; None preserves the base value.

§query_tail_syntax: Option<QueryTailSyntax>

Override for the query_tail_syntax dialect-data dimension; None preserves the base value.

§grouping_syntax: Option<GroupingSyntax>

Override for the grouping_syntax dialect-data dimension; None preserves the base value.

§utility_syntax: Option<UtilitySyntax>

Override for the utility_syntax dialect-data dimension; None preserves the base value.

§show_syntax: Option<ShowSyntax>

Override for the show_syntax dialect-data dimension; None preserves the base value.

§maintenance_syntax: Option<MaintenanceSyntax>

Override for the maintenance_syntax dialect-data dimension; None preserves the base value.

§access_control_syntax: Option<AccessControlSyntax>

Override for the access_control_syntax dialect-data dimension; None preserves the base value.

§type_name_syntax: Option<TypeNameSyntax>

Override for the type_name_syntax dialect-data dimension; None preserves the base value.

§target_spelling: Option<TargetSpelling>

Override for the target_spelling dialect-data dimension; None preserves the base value.

Implementations§

Source§

impl FeatureDelta

Source

pub const EMPTY: Self

No changes from the base feature set.

Source

pub const fn identifier_casing(self, value: Casing) -> Self

Override the identifier_casing dialect-data dimension.

Source

pub const fn identifier_quotes(self, value: &'static [IdentifierQuote]) -> Self

Override the identifier_quotes dialect-data dimension.

Source

pub const fn default_null_ordering(self, value: NullOrdering) -> Self

Override the default_null_ordering dialect-data dimension.

Source

pub const fn reserved_column_name(self, value: KeywordSet) -> Self

Override the reserved_column_name dialect-data dimension.

Source

pub const fn reserved_function_name(self, value: KeywordSet) -> Self

Override the reserved_function_name dialect-data dimension.

Source

pub const fn reserved_type_name(self, value: KeywordSet) -> Self

Override the reserved_type_name dialect-data dimension.

Source

pub const fn reserved_bare_alias(self, value: KeywordSet) -> Self

Override the reserved_bare_alias dialect-data dimension.

Source

pub const fn reserved_as_label(self, value: KeywordSet) -> Self

Override the reserved_as_label dialect-data dimension.

Source

pub const fn catalog_qualified_names(self, value: bool) -> Self

Override the catalog_qualified_names dialect-data dimension.

Source

pub const fn byte_classes(self, value: ByteClasses) -> Self

Override the byte_classes dialect-data dimension.

Source

pub const fn binding_powers(self, value: BindingPowerTable) -> Self

Override the binding_powers dialect-data dimension.

Source

pub const fn set_operation_powers( self, value: SetOperationBindingPowerTable, ) -> Self

Override the set_operation_powers dialect-data dimension.

Source

pub const fn string_literals(self, value: StringLiteralSyntax) -> Self

Override the string_literals dialect-data dimension.

Source

pub const fn numeric_literals(self, value: NumericLiteralSyntax) -> Self

Override the numeric_literals dialect-data dimension.

Source

pub const fn parameters(self, value: ParameterSyntax) -> Self

Override the parameters dialect-data dimension.

Source

pub const fn session_variables(self, value: SessionVariableSyntax) -> Self

Override the session_variables dialect-data dimension.

Source

pub const fn identifier_syntax(self, value: IdentifierSyntax) -> Self

Override the identifier_syntax dialect-data dimension.

Source

pub const fn table_expressions(self, value: TableExpressionSyntax) -> Self

Override the table_expressions dialect-data dimension.

Source

pub const fn join_syntax(self, value: JoinSyntax) -> Self

Override the join_syntax dialect-data dimension.

Source

pub const fn table_factor_syntax(self, value: TableFactorSyntax) -> Self

Override the table_factor_syntax dialect-data dimension.

Source

pub const fn expression_syntax(self, value: ExpressionSyntax) -> Self

Override the expression_syntax dialect-data dimension.

Source

pub const fn operator_syntax(self, value: OperatorSyntax) -> Self

Override the operator_syntax dialect-data dimension.

Source

pub const fn call_syntax(self, value: CallSyntax) -> Self

Override the call_syntax dialect-data dimension.

Source

pub const fn string_func_forms(self, value: StringFuncForms) -> Self

Override the string_func_forms dialect-data dimension.

Source

pub const fn aggregate_call_syntax(self, value: AggregateCallSyntax) -> Self

Override the aggregate_call_syntax dialect-data dimension.

Source

pub const fn predicate_syntax(self, value: PredicateSyntax) -> Self

Override the predicate_syntax dialect-data dimension.

Source

pub const fn pipe_operator(self, value: PipeOperator) -> Self

Override the pipe_operator dialect-data dimension.

Source

pub const fn double_ampersand(self, value: DoubleAmpersand) -> Self

Override the double_ampersand dialect-data dimension.

Source

pub const fn keyword_operators(self, value: KeywordOperators) -> Self

Override the keyword_operators dialect-data dimension.

Source

pub const fn caret_operator(self, value: CaretOperator) -> Self

Override the caret_operator dialect-data dimension.

Source

pub const fn hash_bitwise_xor(self, value: bool) -> Self

Override the hash_bitwise_xor dialect-data dimension.

Source

pub const fn comment_syntax(self, value: CommentSyntax) -> Self

Override the comment_syntax dialect-data dimension.

Source

pub const fn mutation_syntax(self, value: MutationSyntax) -> Self

Override the mutation_syntax dialect-data dimension.

Source

pub const fn statement_ddl_gates(self, value: StatementDdlGates) -> Self

Override the statement_ddl_gates dialect-data dimension.

Source

pub const fn create_table_clause_syntax( self, value: CreateTableClauseSyntax, ) -> Self

Override the create_table_clause_syntax dialect-data dimension.

Source

pub const fn column_definition_syntax( self, value: ColumnDefinitionSyntax, ) -> Self

Override the column_definition_syntax dialect-data dimension.

Source

pub const fn constraint_syntax(self, value: ConstraintSyntax) -> Self

Override the constraint_syntax dialect-data dimension.

Source

pub const fn index_alter_syntax(self, value: IndexAlterSyntax) -> Self

Override the index_alter_syntax dialect-data dimension.

Source

pub const fn existence_guards(self, value: ExistenceGuards) -> Self

Override the existence_guards dialect-data dimension.

Source

pub const fn select_syntax(self, value: SelectSyntax) -> Self

Override the select_syntax dialect-data dimension.

Source

pub const fn query_tail_syntax(self, value: QueryTailSyntax) -> Self

Override the query_tail_syntax dialect-data dimension.

Source

pub const fn grouping_syntax(self, value: GroupingSyntax) -> Self

Override the grouping_syntax dialect-data dimension.

Source

pub const fn utility_syntax(self, value: UtilitySyntax) -> Self

Override the utility_syntax dialect-data dimension.

Source

pub const fn show_syntax(self, value: ShowSyntax) -> Self

Override the show_syntax dialect-data dimension.

Source

pub const fn maintenance_syntax(self, value: MaintenanceSyntax) -> Self

Override the maintenance_syntax dialect-data dimension.

Source

pub const fn access_control_syntax(self, value: AccessControlSyntax) -> Self

Override the access_control_syntax dialect-data dimension.

Source

pub const fn type_name_syntax(self, value: TypeNameSyntax) -> Self

Override the type_name_syntax dialect-data dimension.

Source

pub const fn target_spelling(self, value: TargetSpelling) -> Self

Override the target_spelling dialect-data dimension.

Trait Implementations§

Source§

impl Clone for FeatureDelta

Source§

fn clone(&self) -> FeatureDelta

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for FeatureDelta

Source§

impl Debug for FeatureDelta

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for FeatureDelta

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for FeatureDelta

Source§

impl PartialEq for FeatureDelta

Source§

fn eq(&self, other: &FeatureDelta) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for FeatureDelta

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.