Skip to main content

Node

Struct Node 

Source
pub struct Node(/* private fields */);
Expand description

Node

Implementations§

Source§

impl Node

Source

pub fn none() -> Self

returns None variant

Source§

impl Node

Source

pub fn as_alias(&self) -> AliasOpt

cast as Alias

Source

pub fn is_alias(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_range_var(&self) -> RangeVarOpt

cast as RangeVar

Source

pub fn is_range_var(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_table_func(&self) -> TableFuncOpt

cast as TableFunc

Source

pub fn is_table_func(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_into_clause(&self) -> IntoClauseOpt

cast as IntoClause

Source

pub fn is_into_clause(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_var(&self) -> VarOpt

cast as Var

Source

pub fn is_var(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_param(&self) -> ParamOpt

cast as Param

Source

pub fn is_param(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_aggref(&self) -> AggrefOpt

cast as Aggref

Source

pub fn is_aggref(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_grouping_func(&self) -> GroupingFuncOpt

cast as GroupingFunc

Source

pub fn is_grouping_func(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_window_func(&self) -> WindowFuncOpt

cast as WindowFunc

Source

pub fn is_window_func(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_window_func_run_condition(&self) -> WindowFuncRunConditionOpt

cast as WindowFuncRunCondition

Source

pub fn is_window_func_run_condition(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_merge_support_func(&self) -> MergeSupportFuncOpt

cast as MergeSupportFunc

Source

pub fn is_merge_support_func(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_subscripting_ref(&self) -> SubscriptingRefOpt

cast as SubscriptingRef

Source

pub fn is_subscripting_ref(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_func_expr(&self) -> FuncExprOpt

cast as FuncExpr

Source

pub fn is_func_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_named_arg_expr(&self) -> NamedArgExprOpt

cast as NamedArgExpr

Source

pub fn is_named_arg_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_op_expr(&self) -> OpExprOpt

cast as OpExpr

Source

pub fn is_op_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_distinct_expr(&self) -> DistinctExprOpt

cast as DistinctExpr

Source

pub fn is_distinct_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_null_if_expr(&self) -> NullIfExprOpt

cast as NullIfExpr

Source

pub fn is_null_if_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_scalar_array_op_expr(&self) -> ScalarArrayOpExprOpt

cast as ScalarArrayOpExpr

Source

pub fn is_scalar_array_op_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_bool_expr(&self) -> BoolExprOpt

cast as BoolExpr

Source

pub fn is_bool_expr(&self) -> bool

test variant kind

Source§

impl Node

cast as SubLink

test variant kind

Source§

impl Node

Source

pub fn as_sub_plan(&self) -> SubPlanOpt

cast as SubPlan

Source

pub fn is_sub_plan(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alternative_sub_plan(&self) -> AlternativeSubPlanOpt

cast as AlternativeSubPlan

Source

pub fn is_alternative_sub_plan(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_field_select(&self) -> FieldSelectOpt

cast as FieldSelect

Source

pub fn is_field_select(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_field_store(&self) -> FieldStoreOpt

cast as FieldStore

Source

pub fn is_field_store(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_relabel_type(&self) -> RelabelTypeOpt

cast as RelabelType

Source

pub fn is_relabel_type(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_coerce_via_io(&self) -> CoerceViaIoOpt

cast as CoerceViaIo

Source

pub fn is_coerce_via_io(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_array_coerce_expr(&self) -> ArrayCoerceExprOpt

cast as ArrayCoerceExpr

Source

pub fn is_array_coerce_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_convert_rowtype_expr(&self) -> ConvertRowtypeExprOpt

cast as ConvertRowtypeExpr

Source

pub fn is_convert_rowtype_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_collate_expr(&self) -> CollateExprOpt

cast as CollateExpr

Source

pub fn is_collate_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_case_expr(&self) -> CaseExprOpt

cast as CaseExpr

Source

pub fn is_case_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_case_when(&self) -> CaseWhenOpt

cast as CaseWhen

Source

pub fn is_case_when(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_case_test_expr(&self) -> CaseTestExprOpt

cast as CaseTestExpr

Source

pub fn is_case_test_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_array_expr(&self) -> ArrayExprOpt

cast as ArrayExpr

Source

pub fn is_array_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_row_expr(&self) -> RowExprOpt

cast as RowExpr

Source

pub fn is_row_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_row_compare_expr(&self) -> RowCompareExprOpt

cast as RowCompareExpr

Source

pub fn is_row_compare_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_coalesce_expr(&self) -> CoalesceExprOpt

cast as CoalesceExpr

Source

pub fn is_coalesce_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_min_max_expr(&self) -> MinMaxExprOpt

cast as MinMaxExpr

Source

pub fn is_min_max_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_sqlvalue_function(&self) -> SqlValueFunctionOpt

cast as SqlvalueFunction

Source

pub fn is_sqlvalue_function(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_xml_expr(&self) -> XmlExprOpt

cast as XmlExpr

Source

pub fn is_xml_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_format(&self) -> JsonFormatOpt

cast as JsonFormat

Source

pub fn is_json_format(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_returning(&self) -> JsonReturningOpt

cast as JsonReturning

Source

pub fn is_json_returning(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_value_expr(&self) -> JsonValueExprOpt

cast as JsonValueExpr

Source

pub fn is_json_value_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_constructor_expr(&self) -> JsonConstructorExprOpt

cast as JsonConstructorExpr

Source

pub fn is_json_constructor_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_is_predicate(&self) -> JsonIsPredicateOpt

cast as JsonIsPredicate

Source

pub fn is_json_is_predicate(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_behavior(&self) -> JsonBehaviorOpt

cast as JsonBehavior

Source

pub fn is_json_behavior(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_expr(&self) -> JsonExprOpt

cast as JsonExpr

Source

pub fn is_json_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_table_path(&self) -> JsonTablePathOpt

cast as JsonTablePath

Source

pub fn is_json_table_path(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_table_path_scan(&self) -> JsonTablePathScanOpt

cast as JsonTablePathScan

Source

pub fn is_json_table_path_scan(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_table_sibling_join(&self) -> JsonTableSiblingJoinOpt

cast as JsonTableSiblingJoin

Source

pub fn is_json_table_sibling_join(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_null_test(&self) -> NullTestOpt

cast as NullTest

Source

pub fn is_null_test(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_boolean_test(&self) -> BooleanTestOpt

cast as BooleanTest

Source

pub fn is_boolean_test(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_merge_action(&self) -> MergeActionOpt

cast as MergeAction

Source

pub fn is_merge_action(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_coerce_to_domain(&self) -> CoerceToDomainOpt

cast as CoerceToDomain

Source

pub fn is_coerce_to_domain(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_coerce_to_domain_value(&self) -> CoerceToDomainValueOpt

cast as CoerceToDomainValue

Source

pub fn is_coerce_to_domain_value(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_set_to_default(&self) -> SetToDefaultOpt

cast as SetToDefault

Source

pub fn is_set_to_default(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_current_of_expr(&self) -> CurrentOfExprOpt

cast as CurrentOfExpr

Source

pub fn is_current_of_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_next_value_expr(&self) -> NextValueExprOpt

cast as NextValueExpr

Source

pub fn is_next_value_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_inference_elem(&self) -> InferenceElemOpt

cast as InferenceElem

Source

pub fn is_inference_elem(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_target_entry(&self) -> TargetEntryOpt

cast as TargetEntry

Source

pub fn is_target_entry(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_range_tbl_ref(&self) -> RangeTblRefOpt

cast as RangeTblRef

Source

pub fn is_range_tbl_ref(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_join_expr(&self) -> JoinExprOpt

cast as JoinExpr

Source

pub fn is_join_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_from_expr(&self) -> FromExprOpt

cast as FromExpr

Source

pub fn is_from_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_on_conflict_expr(&self) -> OnConflictExprOpt

cast as OnConflictExpr

Source

pub fn is_on_conflict_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_query(&self) -> QueryOpt

cast as Query

Source

pub fn is_query(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_type_name(&self) -> TypeNameOpt

cast as TypeName

Source

pub fn is_type_name(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_column_ref(&self) -> ColumnRefOpt

cast as ColumnRef

Source

pub fn is_column_ref(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_param_ref(&self) -> ParamRefOpt

cast as ParamRef

Source

pub fn is_param_ref(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_a_expr(&self) -> AExprOpt

cast as AExpr

Source

pub fn is_a_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_type_cast(&self) -> TypeCastOpt

cast as TypeCast

Source

pub fn is_type_cast(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_collate_clause(&self) -> CollateClauseOpt

cast as CollateClause

Source

pub fn is_collate_clause(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_role_spec(&self) -> RoleSpecOpt

cast as RoleSpec

Source

pub fn is_role_spec(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_func_call(&self) -> FuncCallOpt

cast as FuncCall

Source

pub fn is_func_call(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_a_star(&self) -> AStarOpt

cast as AStar

Source

pub fn is_a_star(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_a_indices(&self) -> AIndicesOpt

cast as AIndices

Source

pub fn is_a_indices(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_a_indirection(&self) -> AIndirectionOpt

cast as AIndirection

Source

pub fn is_a_indirection(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_a_array_expr(&self) -> AArrayExprOpt

cast as AArrayExpr

Source

pub fn is_a_array_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_res_target(&self) -> ResTargetOpt

cast as ResTarget

Source

pub fn is_res_target(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_multi_assign_ref(&self) -> MultiAssignRefOpt

cast as MultiAssignRef

Source

pub fn is_multi_assign_ref(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_sort_by(&self) -> SortByOpt

cast as SortBy

Source

pub fn is_sort_by(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_window_def(&self) -> WindowDefOpt

cast as WindowDef

Source

pub fn is_window_def(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_range_subselect(&self) -> RangeSubselectOpt

cast as RangeSubselect

Source

pub fn is_range_subselect(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_range_function(&self) -> RangeFunctionOpt

cast as RangeFunction

Source

pub fn is_range_function(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_range_table_func(&self) -> RangeTableFuncOpt

cast as RangeTableFunc

Source

pub fn is_range_table_func(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_range_table_func_col(&self) -> RangeTableFuncColOpt

cast as RangeTableFuncCol

Source

pub fn is_range_table_func_col(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_range_table_sample(&self) -> RangeTableSampleOpt

cast as RangeTableSample

Source

pub fn is_range_table_sample(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_column_def(&self) -> ColumnDefOpt

cast as ColumnDef

Source

pub fn is_column_def(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_table_like_clause(&self) -> TableLikeClauseOpt

cast as TableLikeClause

Source

pub fn is_table_like_clause(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_index_elem(&self) -> IndexElemOpt

cast as IndexElem

Source

pub fn is_index_elem(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_def_elem(&self) -> DefElemOpt

cast as DefElem

Source

pub fn is_def_elem(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_locking_clause(&self) -> LockingClauseOpt

cast as LockingClause

Source

pub fn is_locking_clause(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_xml_serialize(&self) -> XmlSerializeOpt

cast as XmlSerialize

Source

pub fn is_xml_serialize(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_partition_elem(&self) -> PartitionElemOpt

cast as PartitionElem

Source

pub fn is_partition_elem(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_partition_spec(&self) -> PartitionSpecOpt

cast as PartitionSpec

Source

pub fn is_partition_spec(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_partition_bound_spec(&self) -> PartitionBoundSpecOpt

cast as PartitionBoundSpec

Source

pub fn is_partition_bound_spec(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_partition_range_datum(&self) -> PartitionRangeDatumOpt

cast as PartitionRangeDatum

Source

pub fn is_partition_range_datum(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_single_partition_spec(&self) -> SinglePartitionSpecOpt

cast as SinglePartitionSpec

Source

pub fn is_single_partition_spec(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_partition_cmd(&self) -> PartitionCmdOpt

cast as PartitionCmd

Source

pub fn is_partition_cmd(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_range_tbl_entry(&self) -> RangeTblEntryOpt

cast as RangeTblEntry

Source

pub fn is_range_tbl_entry(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_rtepermission_info(&self) -> RtePermissionInfoOpt

cast as RtepermissionInfo

Source

pub fn is_rtepermission_info(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_range_tbl_function(&self) -> RangeTblFunctionOpt

cast as RangeTblFunction

Source

pub fn is_range_tbl_function(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_table_sample_clause(&self) -> TableSampleClauseOpt

cast as TableSampleClause

Source

pub fn is_table_sample_clause(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_with_check_option(&self) -> WithCheckOptionOpt

cast as WithCheckOption

Source

pub fn is_with_check_option(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_sort_group_clause(&self) -> SortGroupClauseOpt

cast as SortGroupClause

Source

pub fn is_sort_group_clause(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_grouping_set(&self) -> GroupingSetOpt

cast as GroupingSet

Source

pub fn is_grouping_set(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_window_clause(&self) -> WindowClauseOpt

cast as WindowClause

Source

pub fn is_window_clause(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_row_mark_clause(&self) -> RowMarkClauseOpt

cast as RowMarkClause

Source

pub fn is_row_mark_clause(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_with_clause(&self) -> WithClauseOpt

cast as WithClause

Source

pub fn is_with_clause(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_infer_clause(&self) -> InferClauseOpt

cast as InferClause

Source

pub fn is_infer_clause(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_on_conflict_clause(&self) -> OnConflictClauseOpt

cast as OnConflictClause

Source

pub fn is_on_conflict_clause(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_ctesearch_clause(&self) -> CteSearchClauseOpt

cast as CtesearchClause

Source

pub fn is_ctesearch_clause(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_ctecycle_clause(&self) -> CteCycleClauseOpt

cast as CtecycleClause

Source

pub fn is_ctecycle_clause(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_common_table_expr(&self) -> CommonTableExprOpt

cast as CommonTableExpr

Source

pub fn is_common_table_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_merge_when_clause(&self) -> MergeWhenClauseOpt

cast as MergeWhenClause

Source

pub fn is_merge_when_clause(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_trigger_transition(&self) -> TriggerTransitionOpt

cast as TriggerTransition

Source

pub fn is_trigger_transition(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_output(&self) -> JsonOutputOpt

cast as JsonOutput

Source

pub fn is_json_output(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_argument(&self) -> JsonArgumentOpt

cast as JsonArgument

Source

pub fn is_json_argument(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_func_expr(&self) -> JsonFuncExprOpt

cast as JsonFuncExpr

Source

pub fn is_json_func_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_table_path_spec(&self) -> JsonTablePathSpecOpt

cast as JsonTablePathSpec

Source

pub fn is_json_table_path_spec(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_table(&self) -> JsonTableOpt

cast as JsonTable

Source

pub fn is_json_table(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_table_column(&self) -> JsonTableColumnOpt

cast as JsonTableColumn

Source

pub fn is_json_table_column(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_key_value(&self) -> JsonKeyValueOpt

cast as JsonKeyValue

Source

pub fn is_json_key_value(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_parse_expr(&self) -> JsonParseExprOpt

cast as JsonParseExpr

Source

pub fn is_json_parse_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_scalar_expr(&self) -> JsonScalarExprOpt

cast as JsonScalarExpr

Source

pub fn is_json_scalar_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_serialize_expr(&self) -> JsonSerializeExprOpt

cast as JsonSerializeExpr

Source

pub fn is_json_serialize_expr(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_object_constructor(&self) -> JsonObjectConstructorOpt

cast as JsonObjectConstructor

Source

pub fn is_json_object_constructor(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_array_constructor(&self) -> JsonArrayConstructorOpt

cast as JsonArrayConstructor

Source

pub fn is_json_array_constructor(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_array_query_constructor(&self) -> JsonArrayQueryConstructorOpt

cast as JsonArrayQueryConstructor

Source

pub fn is_json_array_query_constructor(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_agg_constructor(&self) -> JsonAggConstructorOpt

cast as JsonAggConstructor

Source

pub fn is_json_agg_constructor(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_object_agg(&self) -> JsonObjectAggOpt

cast as JsonObjectAgg

Source

pub fn is_json_object_agg(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_json_array_agg(&self) -> JsonArrayAggOpt

cast as JsonArrayAgg

Source

pub fn is_json_array_agg(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_raw_stmt(&self) -> RawStmtOpt

cast as RawStmt

Source

pub fn is_raw_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_insert_stmt(&self) -> InsertStmtOpt

cast as InsertStmt

Source

pub fn is_insert_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_delete_stmt(&self) -> DeleteStmtOpt

cast as DeleteStmt

Source

pub fn is_delete_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_update_stmt(&self) -> UpdateStmtOpt

cast as UpdateStmt

Source

pub fn is_update_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_merge_stmt(&self) -> MergeStmtOpt

cast as MergeStmt

Source

pub fn is_merge_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_select_stmt(&self) -> SelectStmtOpt

cast as SelectStmt

Source

pub fn is_select_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_set_operation_stmt(&self) -> SetOperationStmtOpt

cast as SetOperationStmt

Source

pub fn is_set_operation_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_return_stmt(&self) -> ReturnStmtOpt

cast as ReturnStmt

Source

pub fn is_return_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_plassign_stmt(&self) -> PlAssignStmtOpt

cast as PlassignStmt

Source

pub fn is_plassign_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_schema_stmt(&self) -> CreateSchemaStmtOpt

cast as CreateSchemaStmt

Source

pub fn is_create_schema_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_table_stmt(&self) -> AlterTableStmtOpt

cast as AlterTableStmt

Source

pub fn is_alter_table_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_replica_identity_stmt(&self) -> ReplicaIdentityStmtOpt

cast as ReplicaIdentityStmt

Source

pub fn is_replica_identity_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_table_cmd(&self) -> AlterTableCmdOpt

cast as AlterTableCmd

Source

pub fn is_alter_table_cmd(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_collation_stmt(&self) -> AlterCollationStmtOpt

cast as AlterCollationStmt

Source

pub fn is_alter_collation_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_domain_stmt(&self) -> AlterDomainStmtOpt

cast as AlterDomainStmt

Source

pub fn is_alter_domain_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_grant_stmt(&self) -> GrantStmtOpt

cast as GrantStmt

Source

pub fn is_grant_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_object_with_args(&self) -> ObjectWithArgsOpt

cast as ObjectWithArgs

Source

pub fn is_object_with_args(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_access_priv(&self) -> AccessPrivOpt

cast as AccessPriv

Source

pub fn is_access_priv(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_grant_role_stmt(&self) -> GrantRoleStmtOpt

cast as GrantRoleStmt

Source

pub fn is_grant_role_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_default_privileges_stmt(&self) -> AlterDefaultPrivilegesStmtOpt

cast as AlterDefaultPrivilegesStmt

Source

pub fn is_alter_default_privileges_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_copy_stmt(&self) -> CopyStmtOpt

cast as CopyStmt

Source

pub fn is_copy_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_variable_set_stmt(&self) -> VariableSetStmtOpt

cast as VariableSetStmt

Source

pub fn is_variable_set_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_variable_show_stmt(&self) -> VariableShowStmtOpt

cast as VariableShowStmt

Source

pub fn is_variable_show_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_stmt(&self) -> CreateStmtOpt

cast as CreateStmt

Source

pub fn is_create_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_constraint(&self) -> ConstraintOpt

cast as Constraint

Source

pub fn is_constraint(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_table_space_stmt(&self) -> CreateTableSpaceStmtOpt

cast as CreateTableSpaceStmt

Source

pub fn is_create_table_space_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_drop_table_space_stmt(&self) -> DropTableSpaceStmtOpt

cast as DropTableSpaceStmt

Source

pub fn is_drop_table_space_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_table_space_options_stmt(&self) -> AlterTableSpaceOptionsStmtOpt

cast as AlterTableSpaceOptionsStmt

Source

pub fn is_alter_table_space_options_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_table_move_all_stmt(&self) -> AlterTableMoveAllStmtOpt

cast as AlterTableMoveAllStmt

Source

pub fn is_alter_table_move_all_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_extension_stmt(&self) -> CreateExtensionStmtOpt

cast as CreateExtensionStmt

Source

pub fn is_create_extension_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_extension_stmt(&self) -> AlterExtensionStmtOpt

cast as AlterExtensionStmt

Source

pub fn is_alter_extension_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_extension_contents_stmt(&self) -> AlterExtensionContentsStmtOpt

cast as AlterExtensionContentsStmt

Source

pub fn is_alter_extension_contents_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_fdw_stmt(&self) -> CreateFdwStmtOpt

cast as CreateFdwStmt

Source

pub fn is_create_fdw_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_fdw_stmt(&self) -> AlterFdwStmtOpt

cast as AlterFdwStmt

Source

pub fn is_alter_fdw_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_foreign_server_stmt(&self) -> CreateForeignServerStmtOpt

cast as CreateForeignServerStmt

Source

pub fn is_create_foreign_server_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_foreign_server_stmt(&self) -> AlterForeignServerStmtOpt

cast as AlterForeignServerStmt

Source

pub fn is_alter_foreign_server_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_foreign_table_stmt(&self) -> CreateForeignTableStmtOpt

cast as CreateForeignTableStmt

Source

pub fn is_create_foreign_table_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_user_mapping_stmt(&self) -> CreateUserMappingStmtOpt

cast as CreateUserMappingStmt

Source

pub fn is_create_user_mapping_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_user_mapping_stmt(&self) -> AlterUserMappingStmtOpt

cast as AlterUserMappingStmt

Source

pub fn is_alter_user_mapping_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_drop_user_mapping_stmt(&self) -> DropUserMappingStmtOpt

cast as DropUserMappingStmt

Source

pub fn is_drop_user_mapping_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_import_foreign_schema_stmt(&self) -> ImportForeignSchemaStmtOpt

cast as ImportForeignSchemaStmt

Source

pub fn is_import_foreign_schema_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_policy_stmt(&self) -> CreatePolicyStmtOpt

cast as CreatePolicyStmt

Source

pub fn is_create_policy_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_policy_stmt(&self) -> AlterPolicyStmtOpt

cast as AlterPolicyStmt

Source

pub fn is_alter_policy_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_am_stmt(&self) -> CreateAmStmtOpt

cast as CreateAmStmt

Source

pub fn is_create_am_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_trig_stmt(&self) -> CreateTrigStmtOpt

cast as CreateTrigStmt

Source

pub fn is_create_trig_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_event_trig_stmt(&self) -> CreateEventTrigStmtOpt

cast as CreateEventTrigStmt

Source

pub fn is_create_event_trig_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_event_trig_stmt(&self) -> AlterEventTrigStmtOpt

cast as AlterEventTrigStmt

Source

pub fn is_alter_event_trig_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_plang_stmt(&self) -> CreatePLangStmtOpt

cast as CreatePlangStmt

Source

pub fn is_create_plang_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_role_stmt(&self) -> CreateRoleStmtOpt

cast as CreateRoleStmt

Source

pub fn is_create_role_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_role_stmt(&self) -> AlterRoleStmtOpt

cast as AlterRoleStmt

Source

pub fn is_alter_role_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_role_set_stmt(&self) -> AlterRoleSetStmtOpt

cast as AlterRoleSetStmt

Source

pub fn is_alter_role_set_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_drop_role_stmt(&self) -> DropRoleStmtOpt

cast as DropRoleStmt

Source

pub fn is_drop_role_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_seq_stmt(&self) -> CreateSeqStmtOpt

cast as CreateSeqStmt

Source

pub fn is_create_seq_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_seq_stmt(&self) -> AlterSeqStmtOpt

cast as AlterSeqStmt

Source

pub fn is_alter_seq_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_define_stmt(&self) -> DefineStmtOpt

cast as DefineStmt

Source

pub fn is_define_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_domain_stmt(&self) -> CreateDomainStmtOpt

cast as CreateDomainStmt

Source

pub fn is_create_domain_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_op_class_stmt(&self) -> CreateOpClassStmtOpt

cast as CreateOpClassStmt

Source

pub fn is_create_op_class_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_op_class_item(&self) -> CreateOpClassItemOpt

cast as CreateOpClassItem

Source

pub fn is_create_op_class_item(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_op_family_stmt(&self) -> CreateOpFamilyStmtOpt

cast as CreateOpFamilyStmt

Source

pub fn is_create_op_family_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_op_family_stmt(&self) -> AlterOpFamilyStmtOpt

cast as AlterOpFamilyStmt

Source

pub fn is_alter_op_family_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_drop_stmt(&self) -> DropStmtOpt

cast as DropStmt

Source

pub fn is_drop_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_truncate_stmt(&self) -> TruncateStmtOpt

cast as TruncateStmt

Source

pub fn is_truncate_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_comment_stmt(&self) -> CommentStmtOpt

cast as CommentStmt

Source

pub fn is_comment_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_sec_label_stmt(&self) -> SecLabelStmtOpt

cast as SecLabelStmt

Source

pub fn is_sec_label_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_declare_cursor_stmt(&self) -> DeclareCursorStmtOpt

cast as DeclareCursorStmt

Source

pub fn is_declare_cursor_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_close_portal_stmt(&self) -> ClosePortalStmtOpt

cast as ClosePortalStmt

Source

pub fn is_close_portal_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_fetch_stmt(&self) -> FetchStmtOpt

cast as FetchStmt

Source

pub fn is_fetch_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_index_stmt(&self) -> IndexStmtOpt

cast as IndexStmt

Source

pub fn is_index_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_stats_stmt(&self) -> CreateStatsStmtOpt

cast as CreateStatsStmt

Source

pub fn is_create_stats_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_stats_elem(&self) -> StatsElemOpt

cast as StatsElem

Source

pub fn is_stats_elem(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_stats_stmt(&self) -> AlterStatsStmtOpt

cast as AlterStatsStmt

Source

pub fn is_alter_stats_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_function_stmt(&self) -> CreateFunctionStmtOpt

cast as CreateFunctionStmt

Source

pub fn is_create_function_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_function_parameter(&self) -> FunctionParameterOpt

cast as FunctionParameter

Source

pub fn is_function_parameter(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_function_stmt(&self) -> AlterFunctionStmtOpt

cast as AlterFunctionStmt

Source

pub fn is_alter_function_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_do_stmt(&self) -> DoStmtOpt

cast as DoStmt

Source

pub fn is_do_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_inline_code_block(&self) -> InlineCodeBlockOpt

cast as InlineCodeBlock

Source

pub fn is_inline_code_block(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_call_stmt(&self) -> CallStmtOpt

cast as CallStmt

Source

pub fn is_call_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_call_context(&self) -> CallContextOpt

cast as CallContext

Source

pub fn is_call_context(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_rename_stmt(&self) -> RenameStmtOpt

cast as RenameStmt

Source

pub fn is_rename_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_object_depends_stmt(&self) -> AlterObjectDependsStmtOpt

cast as AlterObjectDependsStmt

Source

pub fn is_alter_object_depends_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_object_schema_stmt(&self) -> AlterObjectSchemaStmtOpt

cast as AlterObjectSchemaStmt

Source

pub fn is_alter_object_schema_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_owner_stmt(&self) -> AlterOwnerStmtOpt

cast as AlterOwnerStmt

Source

pub fn is_alter_owner_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_operator_stmt(&self) -> AlterOperatorStmtOpt

cast as AlterOperatorStmt

Source

pub fn is_alter_operator_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_type_stmt(&self) -> AlterTypeStmtOpt

cast as AlterTypeStmt

Source

pub fn is_alter_type_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_rule_stmt(&self) -> RuleStmtOpt

cast as RuleStmt

Source

pub fn is_rule_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_notify_stmt(&self) -> NotifyStmtOpt

cast as NotifyStmt

Source

pub fn is_notify_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_listen_stmt(&self) -> ListenStmtOpt

cast as ListenStmt

Source

pub fn is_listen_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_unlisten_stmt(&self) -> UnlistenStmtOpt

cast as UnlistenStmt

Source

pub fn is_unlisten_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_transaction_stmt(&self) -> TransactionStmtOpt

cast as TransactionStmt

Source

pub fn is_transaction_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_composite_type_stmt(&self) -> CompositeTypeStmtOpt

cast as CompositeTypeStmt

Source

pub fn is_composite_type_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_enum_stmt(&self) -> CreateEnumStmtOpt

cast as CreateEnumStmt

Source

pub fn is_create_enum_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_range_stmt(&self) -> CreateRangeStmtOpt

cast as CreateRangeStmt

Source

pub fn is_create_range_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_enum_stmt(&self) -> AlterEnumStmtOpt

cast as AlterEnumStmt

Source

pub fn is_alter_enum_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_view_stmt(&self) -> ViewStmtOpt

cast as ViewStmt

Source

pub fn is_view_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_load_stmt(&self) -> LoadStmtOpt

cast as LoadStmt

Source

pub fn is_load_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_createdb_stmt(&self) -> CreatedbStmtOpt

cast as CreatedbStmt

Source

pub fn is_createdb_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_database_stmt(&self) -> AlterDatabaseStmtOpt

cast as AlterDatabaseStmt

Source

pub fn is_alter_database_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_database_refresh_coll_stmt( &self, ) -> AlterDatabaseRefreshCollStmtOpt

cast as AlterDatabaseRefreshCollStmt

Source

pub fn is_alter_database_refresh_coll_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_database_set_stmt(&self) -> AlterDatabaseSetStmtOpt

cast as AlterDatabaseSetStmt

Source

pub fn is_alter_database_set_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_dropdb_stmt(&self) -> DropdbStmtOpt

cast as DropdbStmt

Source

pub fn is_dropdb_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_system_stmt(&self) -> AlterSystemStmtOpt

cast as AlterSystemStmt

Source

pub fn is_alter_system_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_cluster_stmt(&self) -> ClusterStmtOpt

cast as ClusterStmt

Source

pub fn is_cluster_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_vacuum_stmt(&self) -> VacuumStmtOpt

cast as VacuumStmt

Source

pub fn is_vacuum_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_vacuum_relation(&self) -> VacuumRelationOpt

cast as VacuumRelation

Source

pub fn is_vacuum_relation(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_explain_stmt(&self) -> ExplainStmtOpt

cast as ExplainStmt

Source

pub fn is_explain_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_table_as_stmt(&self) -> CreateTableAsStmtOpt

cast as CreateTableAsStmt

Source

pub fn is_create_table_as_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_refresh_mat_view_stmt(&self) -> RefreshMatViewStmtOpt

cast as RefreshMatViewStmt

Source

pub fn is_refresh_mat_view_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_check_point_stmt(&self) -> CheckPointStmtOpt

cast as CheckPointStmt

Source

pub fn is_check_point_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_discard_stmt(&self) -> DiscardStmtOpt

cast as DiscardStmt

Source

pub fn is_discard_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_lock_stmt(&self) -> LockStmtOpt

cast as LockStmt

Source

pub fn is_lock_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_constraints_set_stmt(&self) -> ConstraintsSetStmtOpt

cast as ConstraintsSetStmt

Source

pub fn is_constraints_set_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_reindex_stmt(&self) -> ReindexStmtOpt

cast as ReindexStmt

Source

pub fn is_reindex_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_conversion_stmt(&self) -> CreateConversionStmtOpt

cast as CreateConversionStmt

Source

pub fn is_create_conversion_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_cast_stmt(&self) -> CreateCastStmtOpt

cast as CreateCastStmt

Source

pub fn is_create_cast_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_transform_stmt(&self) -> CreateTransformStmtOpt

cast as CreateTransformStmt

Source

pub fn is_create_transform_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_prepare_stmt(&self) -> PrepareStmtOpt

cast as PrepareStmt

Source

pub fn is_prepare_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_execute_stmt(&self) -> ExecuteStmtOpt

cast as ExecuteStmt

Source

pub fn is_execute_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_deallocate_stmt(&self) -> DeallocateStmtOpt

cast as DeallocateStmt

Source

pub fn is_deallocate_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_drop_owned_stmt(&self) -> DropOwnedStmtOpt

cast as DropOwnedStmt

Source

pub fn is_drop_owned_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_reassign_owned_stmt(&self) -> ReassignOwnedStmtOpt

cast as ReassignOwnedStmt

Source

pub fn is_reassign_owned_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_tsdictionary_stmt(&self) -> AlterTsDictionaryStmtOpt

cast as AlterTsdictionaryStmt

Source

pub fn is_alter_tsdictionary_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_tsconfiguration_stmt(&self) -> AlterTsConfigurationStmtOpt

cast as AlterTsconfigurationStmt

Source

pub fn is_alter_tsconfiguration_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_publication_table(&self) -> PublicationTableOpt

cast as PublicationTable

Source

pub fn is_publication_table(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_publication_obj_spec(&self) -> PublicationObjSpecOpt

cast as PublicationObjSpec

Source

pub fn is_publication_obj_spec(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_publication_stmt(&self) -> CreatePublicationStmtOpt

cast as CreatePublicationStmt

Source

pub fn is_create_publication_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_publication_stmt(&self) -> AlterPublicationStmtOpt

cast as AlterPublicationStmt

Source

pub fn is_alter_publication_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_create_subscription_stmt(&self) -> CreateSubscriptionStmtOpt

cast as CreateSubscriptionStmt

Source

pub fn is_create_subscription_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_alter_subscription_stmt(&self) -> AlterSubscriptionStmtOpt

cast as AlterSubscriptionStmt

Source

pub fn is_alter_subscription_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_drop_subscription_stmt(&self) -> DropSubscriptionStmtOpt

cast as DropSubscriptionStmt

Source

pub fn is_drop_subscription_stmt(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_integer(&self) -> IntegerOpt

cast as Integer

Source

pub fn is_integer(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_float(&self) -> FloatOpt

cast as Float

Source

pub fn is_float(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_boolean(&self) -> BooleanOpt

cast as Boolean

Source

pub fn is_boolean(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_string(&self) -> StringOpt

cast as String

Source

pub fn is_string(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_bit_string(&self) -> BitStringOpt

cast as BitString

Source

pub fn is_bit_string(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_list(&self) -> ListOpt

cast as List

Source

pub fn is_list(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_int_list(&self) -> IntListOpt

cast as IntList

Source

pub fn is_int_list(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_oid_list(&self) -> OidListOpt

cast as OidList

Source

pub fn is_oid_list(&self) -> bool

test variant kind

Source§

impl Node

Source

pub fn as_a_const(&self) -> AConstOpt

cast as AConst

Source

pub fn is_a_const(&self) -> bool

test variant kind

Trait Implementations§

Source§

impl Clone for Node

Source§

fn clone(&self) -> Node

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Node

Source§

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

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

impl From<&Node> for Node

Source§

fn from(value: &Node) -> Self

Converts to this type from the input type.
Source§

impl From<Node> for Node

Source§

fn from(value: Node) -> Self

Converts to this type from the input type.
Source§

impl From<Node> for Node

Source§

fn from(value: Node) -> Self

Converts to this type from the input type.
Source§

impl From<Option<Box<Node>>> for Node

Source§

fn from(value: Option<Box<Node>>) -> Self

Converts to this type from the input type.
Source§

impl From<Option<Node>> for Node

Source§

fn from(value: Option<Node>) -> Self

Converts to this type from the input type.
Source§

impl From<Option<Node>> for Node

Source§

fn from(value: Option<Node>) -> Self

Converts to this type from the input type.
Source§

impl ListOpt<Node> for NodeListOpt

Source§

type OptType = Node

internal value type
Source§

fn as_inner(&self) -> Option<Vec<Node>>

get reference of inner value
Source§

fn get(&self, index: usize) -> Self::OptType

get zero based index entry
Source§

fn map<U, F, V>(&self, f: F) -> Option<Vec<U>>
where F: Fn(T) -> V, V: Opt<U>,

convert list items
Source§

fn map_values<U, F>(&self, f: F) -> Option<Vec<U>>
where F: Fn(T) -> Option<U>,

covert list items
Source§

impl Opt<Node> for Node

Source§

fn as_inner(&self) -> Option<Node>

get reference of inner value
Source§

fn unwrap(&self) -> T

covert to inner value
Source§

fn ok_or_else<E, F>(&self, err: F) -> Result<T, E>
where F: FnOnce() -> E,

get inner value Read more
Source§

fn map<U, F>(&self, f: F) -> Option<U>
where F: FnOnce(T) -> U,

covert item with function

Auto Trait Implementations§

§

impl Freeze for Node

§

impl RefUnwindSafe for Node

§

impl Send for Node

§

impl Sync for Node

§

impl Unpin for Node

§

impl UnwindSafe for Node

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> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<D> OwoColorize for D

Source§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where C: Color,

Set the foreground color generically Read more
Source§

fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>
where C: Color,

Set the background color generically. Read more
Source§

fn black(&self) -> FgColorDisplay<'_, Black, Self>

Change the foreground color to black
Source§

fn on_black(&self) -> BgColorDisplay<'_, Black, Self>

Change the background color to black
Source§

fn red(&self) -> FgColorDisplay<'_, Red, Self>

Change the foreground color to red
Source§

fn on_red(&self) -> BgColorDisplay<'_, Red, Self>

Change the background color to red
Source§

fn green(&self) -> FgColorDisplay<'_, Green, Self>

Change the foreground color to green
Source§

fn on_green(&self) -> BgColorDisplay<'_, Green, Self>

Change the background color to green
Source§

fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>

Change the foreground color to yellow
Source§

fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>

Change the background color to yellow
Source§

fn blue(&self) -> FgColorDisplay<'_, Blue, Self>

Change the foreground color to blue
Source§

fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>

Change the background color to blue
Source§

fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>

Change the foreground color to magenta
Source§

fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>

Change the background color to magenta
Source§

fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>

Change the foreground color to purple
Source§

fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>

Change the background color to purple
Source§

fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>

Change the foreground color to cyan
Source§

fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>

Change the background color to cyan
Source§

fn white(&self) -> FgColorDisplay<'_, White, Self>

Change the foreground color to white
Source§

fn on_white(&self) -> BgColorDisplay<'_, White, Self>

Change the background color to white
Source§

fn default_color(&self) -> FgColorDisplay<'_, Default, Self>

Change the foreground color to the terminal default
Source§

fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>

Change the background color to the terminal default
Source§

fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>

Change the foreground color to bright black
Source§

fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>

Change the background color to bright black
Source§

fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>

Change the foreground color to bright red
Source§

fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>

Change the background color to bright red
Source§

fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>

Change the foreground color to bright green
Source§

fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>

Change the background color to bright green
Source§

fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>

Change the foreground color to bright yellow
Source§

fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>

Change the background color to bright yellow
Source§

fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>

Change the foreground color to bright blue
Source§

fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>

Change the background color to bright blue
Source§

fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>

Change the foreground color to bright magenta
Source§

fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>

Change the background color to bright magenta
Source§

fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>

Change the foreground color to bright purple
Source§

fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>

Change the background color to bright purple
Source§

fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>

Change the foreground color to bright cyan
Source§

fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>

Change the background color to bright cyan
Source§

fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>

Change the foreground color to bright white
Source§

fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>

Change the background color to bright white
Source§

fn bold(&self) -> BoldDisplay<'_, Self>

Make the text bold
Source§

fn dimmed(&self) -> DimDisplay<'_, Self>

Make the text dim
Source§

fn italic(&self) -> ItalicDisplay<'_, Self>

Make the text italicized
Source§

fn underline(&self) -> UnderlineDisplay<'_, Self>

Make the text underlined
Make the text blink
Make the text blink (but fast!)
Source§

fn reversed(&self) -> ReversedDisplay<'_, Self>

Swap the foreground and background colors
Source§

fn hidden(&self) -> HiddenDisplay<'_, Self>

Hide the text
Source§

fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>

Cross out the text
Source§

fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>
where Color: DynColor,

Set the foreground color at runtime. Only use if you do not know which color will be used at compile-time. If the color is constant, use either OwoColorize::fg or a color-specific method, such as OwoColorize::green, Read more
Source§

fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>
where Color: DynColor,

Set the background color at runtime. Only use if you do not know what color to use at compile-time. If the color is constant, use either OwoColorize::bg or a color-specific method, such as OwoColorize::on_yellow, Read more
Source§

fn fg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>

Set the foreground color to a specific RGB value.
Source§

fn bg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>

Set the background color to a specific RGB value.
Source§

fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>

Sets the foreground color to an RGB value.
Source§

fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>

Sets the background color to an RGB value.
Source§

fn style(&self, style: Style) -> Styled<&Self>

Apply a runtime-determined style
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.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more