Enum pg_query::protobuf::node::Node

source ·
pub enum Node {
Show 252 variants Alias(Alias), RangeVar(RangeVar), TableFunc(Box<TableFunc>), IntoClause(Box<IntoClause>), Var(Box<Var>), Param(Box<Param>), Aggref(Box<Aggref>), GroupingFunc(Box<GroupingFunc>), WindowFunc(Box<WindowFunc>), SubscriptingRef(Box<SubscriptingRef>), FuncExpr(Box<FuncExpr>), NamedArgExpr(Box<NamedArgExpr>), OpExpr(Box<OpExpr>), DistinctExpr(Box<DistinctExpr>), NullIfExpr(Box<NullIfExpr>), ScalarArrayOpExpr(Box<ScalarArrayOpExpr>), BoolExpr(Box<BoolExpr>), SubLink(Box<SubLink>), SubPlan(Box<SubPlan>), AlternativeSubPlan(Box<AlternativeSubPlan>), FieldSelect(Box<FieldSelect>), FieldStore(Box<FieldStore>), RelabelType(Box<RelabelType>), CoerceViaIo(Box<CoerceViaIo>), ArrayCoerceExpr(Box<ArrayCoerceExpr>), ConvertRowtypeExpr(Box<ConvertRowtypeExpr>), CollateExpr(Box<CollateExpr>), CaseExpr(Box<CaseExpr>), CaseWhen(Box<CaseWhen>), CaseTestExpr(Box<CaseTestExpr>), ArrayExpr(Box<ArrayExpr>), RowExpr(Box<RowExpr>), RowCompareExpr(Box<RowCompareExpr>), CoalesceExpr(Box<CoalesceExpr>), MinMaxExpr(Box<MinMaxExpr>), SqlvalueFunction(Box<SqlValueFunction>), XmlExpr(Box<XmlExpr>), JsonFormat(JsonFormat), JsonReturning(JsonReturning), JsonValueExpr(Box<JsonValueExpr>), JsonConstructorExpr(Box<JsonConstructorExpr>), JsonIsPredicate(Box<JsonIsPredicate>), NullTest(Box<NullTest>), BooleanTest(Box<BooleanTest>), CoerceToDomain(Box<CoerceToDomain>), CoerceToDomainValue(Box<CoerceToDomainValue>), SetToDefault(Box<SetToDefault>), CurrentOfExpr(Box<CurrentOfExpr>), NextValueExpr(Box<NextValueExpr>), InferenceElem(Box<InferenceElem>), TargetEntry(Box<TargetEntry>), RangeTblRef(RangeTblRef), JoinExpr(Box<JoinExpr>), FromExpr(Box<FromExpr>), OnConflictExpr(Box<OnConflictExpr>), Query(Box<Query>), TypeName(TypeName), ColumnRef(ColumnRef), ParamRef(ParamRef), AExpr(Box<AExpr>), TypeCast(Box<TypeCast>), CollateClause(Box<CollateClause>), RoleSpec(RoleSpec), FuncCall(Box<FuncCall>), AStar(AStar), AIndices(Box<AIndices>), AIndirection(Box<AIndirection>), AArrayExpr(AArrayExpr), ResTarget(Box<ResTarget>), MultiAssignRef(Box<MultiAssignRef>), SortBy(Box<SortBy>), WindowDef(Box<WindowDef>), RangeSubselect(Box<RangeSubselect>), RangeFunction(RangeFunction), RangeTableFunc(Box<RangeTableFunc>), RangeTableFuncCol(Box<RangeTableFuncCol>), RangeTableSample(Box<RangeTableSample>), ColumnDef(Box<ColumnDef>), TableLikeClause(TableLikeClause), IndexElem(Box<IndexElem>), DefElem(Box<DefElem>), LockingClause(LockingClause), XmlSerialize(Box<XmlSerialize>), PartitionElem(Box<PartitionElem>), PartitionSpec(PartitionSpec), PartitionBoundSpec(PartitionBoundSpec), PartitionRangeDatum(Box<PartitionRangeDatum>), PartitionCmd(PartitionCmd), RangeTblEntry(Box<RangeTblEntry>), RtepermissionInfo(RtePermissionInfo), RangeTblFunction(Box<RangeTblFunction>), TableSampleClause(Box<TableSampleClause>), WithCheckOption(Box<WithCheckOption>), SortGroupClause(SortGroupClause), GroupingSet(GroupingSet), WindowClause(Box<WindowClause>), RowMarkClause(RowMarkClause), WithClause(WithClause), InferClause(Box<InferClause>), OnConflictClause(Box<OnConflictClause>), CtesearchClause(CteSearchClause), CtecycleClause(Box<CteCycleClause>), CommonTableExpr(Box<CommonTableExpr>), MergeWhenClause(Box<MergeWhenClause>), MergeAction(Box<MergeAction>), TriggerTransition(TriggerTransition), JsonOutput(JsonOutput), JsonKeyValue(Box<JsonKeyValue>), JsonObjectConstructor(JsonObjectConstructor), JsonArrayConstructor(JsonArrayConstructor), JsonArrayQueryConstructor(Box<JsonArrayQueryConstructor>), JsonAggConstructor(Box<JsonAggConstructor>), JsonObjectAgg(Box<JsonObjectAgg>), JsonArrayAgg(Box<JsonArrayAgg>), RawStmt(Box<RawStmt>), InsertStmt(Box<InsertStmt>), DeleteStmt(Box<DeleteStmt>), UpdateStmt(Box<UpdateStmt>), MergeStmt(Box<MergeStmt>), SelectStmt(Box<SelectStmt>), SetOperationStmt(Box<SetOperationStmt>), ReturnStmt(Box<ReturnStmt>), PlassignStmt(Box<PlAssignStmt>), CreateSchemaStmt(CreateSchemaStmt), AlterTableStmt(AlterTableStmt), ReplicaIdentityStmt(ReplicaIdentityStmt), AlterTableCmd(Box<AlterTableCmd>), AlterCollationStmt(AlterCollationStmt), AlterDomainStmt(Box<AlterDomainStmt>), GrantStmt(GrantStmt), ObjectWithArgs(ObjectWithArgs), AccessPriv(AccessPriv), GrantRoleStmt(GrantRoleStmt), AlterDefaultPrivilegesStmt(AlterDefaultPrivilegesStmt), CopyStmt(Box<CopyStmt>), VariableSetStmt(VariableSetStmt), VariableShowStmt(VariableShowStmt), CreateStmt(CreateStmt), Constraint(Box<Constraint>), CreateTableSpaceStmt(CreateTableSpaceStmt), DropTableSpaceStmt(DropTableSpaceStmt), AlterTableSpaceOptionsStmt(AlterTableSpaceOptionsStmt), AlterTableMoveAllStmt(AlterTableMoveAllStmt), CreateExtensionStmt(CreateExtensionStmt), AlterExtensionStmt(AlterExtensionStmt), AlterExtensionContentsStmt(Box<AlterExtensionContentsStmt>), CreateFdwStmt(CreateFdwStmt), AlterFdwStmt(AlterFdwStmt), CreateForeignServerStmt(CreateForeignServerStmt), AlterForeignServerStmt(AlterForeignServerStmt), CreateForeignTableStmt(CreateForeignTableStmt), CreateUserMappingStmt(CreateUserMappingStmt), AlterUserMappingStmt(AlterUserMappingStmt), DropUserMappingStmt(DropUserMappingStmt), ImportForeignSchemaStmt(ImportForeignSchemaStmt), CreatePolicyStmt(Box<CreatePolicyStmt>), AlterPolicyStmt(Box<AlterPolicyStmt>), CreateAmStmt(CreateAmStmt), CreateTrigStmt(Box<CreateTrigStmt>), CreateEventTrigStmt(CreateEventTrigStmt), AlterEventTrigStmt(AlterEventTrigStmt), CreatePlangStmt(CreatePLangStmt), CreateRoleStmt(CreateRoleStmt), AlterRoleStmt(AlterRoleStmt), AlterRoleSetStmt(AlterRoleSetStmt), DropRoleStmt(DropRoleStmt), CreateSeqStmt(CreateSeqStmt), AlterSeqStmt(AlterSeqStmt), DefineStmt(DefineStmt), CreateDomainStmt(Box<CreateDomainStmt>), CreateOpClassStmt(CreateOpClassStmt), CreateOpClassItem(CreateOpClassItem), CreateOpFamilyStmt(CreateOpFamilyStmt), AlterOpFamilyStmt(AlterOpFamilyStmt), DropStmt(DropStmt), TruncateStmt(TruncateStmt), CommentStmt(Box<CommentStmt>), SecLabelStmt(Box<SecLabelStmt>), DeclareCursorStmt(Box<DeclareCursorStmt>), ClosePortalStmt(ClosePortalStmt), FetchStmt(FetchStmt), IndexStmt(Box<IndexStmt>), CreateStatsStmt(CreateStatsStmt), StatsElem(Box<StatsElem>), AlterStatsStmt(AlterStatsStmt), CreateFunctionStmt(Box<CreateFunctionStmt>), FunctionParameter(Box<FunctionParameter>), AlterFunctionStmt(AlterFunctionStmt), DoStmt(DoStmt), InlineCodeBlock(InlineCodeBlock), CallStmt(Box<CallStmt>), CallContext(CallContext), RenameStmt(Box<RenameStmt>), AlterObjectDependsStmt(Box<AlterObjectDependsStmt>), AlterObjectSchemaStmt(Box<AlterObjectSchemaStmt>), AlterOwnerStmt(Box<AlterOwnerStmt>), AlterOperatorStmt(AlterOperatorStmt), AlterTypeStmt(AlterTypeStmt), RuleStmt(Box<RuleStmt>), NotifyStmt(NotifyStmt), ListenStmt(ListenStmt), UnlistenStmt(UnlistenStmt), TransactionStmt(TransactionStmt), CompositeTypeStmt(CompositeTypeStmt), CreateEnumStmt(CreateEnumStmt), CreateRangeStmt(CreateRangeStmt), AlterEnumStmt(AlterEnumStmt), ViewStmt(Box<ViewStmt>), LoadStmt(LoadStmt), CreatedbStmt(CreatedbStmt), AlterDatabaseStmt(AlterDatabaseStmt), AlterDatabaseRefreshCollStmt(AlterDatabaseRefreshCollStmt), AlterDatabaseSetStmt(AlterDatabaseSetStmt), DropdbStmt(DropdbStmt), AlterSystemStmt(AlterSystemStmt), ClusterStmt(ClusterStmt), VacuumStmt(VacuumStmt), VacuumRelation(VacuumRelation), ExplainStmt(Box<ExplainStmt>), CreateTableAsStmt(Box<CreateTableAsStmt>), RefreshMatViewStmt(RefreshMatViewStmt), CheckPointStmt(CheckPointStmt), DiscardStmt(DiscardStmt), LockStmt(LockStmt), ConstraintsSetStmt(ConstraintsSetStmt), ReindexStmt(ReindexStmt), CreateConversionStmt(CreateConversionStmt), CreateCastStmt(CreateCastStmt), CreateTransformStmt(CreateTransformStmt), PrepareStmt(Box<PrepareStmt>), ExecuteStmt(ExecuteStmt), DeallocateStmt(DeallocateStmt), DropOwnedStmt(DropOwnedStmt), ReassignOwnedStmt(ReassignOwnedStmt), AlterTsdictionaryStmt(AlterTsDictionaryStmt), AlterTsconfigurationStmt(AlterTsConfigurationStmt), PublicationTable(Box<PublicationTable>), PublicationObjSpec(Box<PublicationObjSpec>), CreatePublicationStmt(CreatePublicationStmt), AlterPublicationStmt(AlterPublicationStmt), CreateSubscriptionStmt(CreateSubscriptionStmt), AlterSubscriptionStmt(AlterSubscriptionStmt), DropSubscriptionStmt(DropSubscriptionStmt), Integer(Integer), Float(Float), Boolean(Boolean), String(String), BitString(BitString), List(List), IntList(IntList), OidList(OidList), AConst(AConst),
}

Variants§

§

Alias(Alias)

§

RangeVar(RangeVar)

§

TableFunc(Box<TableFunc>)

§

IntoClause(Box<IntoClause>)

§

Var(Box<Var>)

§

Param(Box<Param>)

§

Aggref(Box<Aggref>)

§

GroupingFunc(Box<GroupingFunc>)

§

WindowFunc(Box<WindowFunc>)

§

SubscriptingRef(Box<SubscriptingRef>)

§

FuncExpr(Box<FuncExpr>)

§

NamedArgExpr(Box<NamedArgExpr>)

§

OpExpr(Box<OpExpr>)

§

DistinctExpr(Box<DistinctExpr>)

§

NullIfExpr(Box<NullIfExpr>)

§

ScalarArrayOpExpr(Box<ScalarArrayOpExpr>)

§

BoolExpr(Box<BoolExpr>)

§

SubPlan(Box<SubPlan>)

§

AlternativeSubPlan(Box<AlternativeSubPlan>)

§

FieldSelect(Box<FieldSelect>)

§

FieldStore(Box<FieldStore>)

§

RelabelType(Box<RelabelType>)

§

CoerceViaIo(Box<CoerceViaIo>)

§

ArrayCoerceExpr(Box<ArrayCoerceExpr>)

§

ConvertRowtypeExpr(Box<ConvertRowtypeExpr>)

§

CollateExpr(Box<CollateExpr>)

§

CaseExpr(Box<CaseExpr>)

§

CaseWhen(Box<CaseWhen>)

§

CaseTestExpr(Box<CaseTestExpr>)

§

ArrayExpr(Box<ArrayExpr>)

§

RowExpr(Box<RowExpr>)

§

RowCompareExpr(Box<RowCompareExpr>)

§

CoalesceExpr(Box<CoalesceExpr>)

§

MinMaxExpr(Box<MinMaxExpr>)

§

SqlvalueFunction(Box<SqlValueFunction>)

§

XmlExpr(Box<XmlExpr>)

§

JsonFormat(JsonFormat)

§

JsonReturning(JsonReturning)

§

JsonValueExpr(Box<JsonValueExpr>)

§

JsonConstructorExpr(Box<JsonConstructorExpr>)

§

JsonIsPredicate(Box<JsonIsPredicate>)

§

NullTest(Box<NullTest>)

§

BooleanTest(Box<BooleanTest>)

§

CoerceToDomain(Box<CoerceToDomain>)

§

CoerceToDomainValue(Box<CoerceToDomainValue>)

§

SetToDefault(Box<SetToDefault>)

§

CurrentOfExpr(Box<CurrentOfExpr>)

§

NextValueExpr(Box<NextValueExpr>)

§

InferenceElem(Box<InferenceElem>)

§

TargetEntry(Box<TargetEntry>)

§

RangeTblRef(RangeTblRef)

§

JoinExpr(Box<JoinExpr>)

§

FromExpr(Box<FromExpr>)

§

OnConflictExpr(Box<OnConflictExpr>)

§

Query(Box<Query>)

§

TypeName(TypeName)

§

ColumnRef(ColumnRef)

§

ParamRef(ParamRef)

§

AExpr(Box<AExpr>)

§

TypeCast(Box<TypeCast>)

§

CollateClause(Box<CollateClause>)

§

RoleSpec(RoleSpec)

§

FuncCall(Box<FuncCall>)

§

AStar(AStar)

§

AIndices(Box<AIndices>)

§

AIndirection(Box<AIndirection>)

§

AArrayExpr(AArrayExpr)

§

ResTarget(Box<ResTarget>)

§

MultiAssignRef(Box<MultiAssignRef>)

§

SortBy(Box<SortBy>)

§

WindowDef(Box<WindowDef>)

§

RangeSubselect(Box<RangeSubselect>)

§

RangeFunction(RangeFunction)

§

RangeTableFunc(Box<RangeTableFunc>)

§

RangeTableFuncCol(Box<RangeTableFuncCol>)

§

RangeTableSample(Box<RangeTableSample>)

§

ColumnDef(Box<ColumnDef>)

§

TableLikeClause(TableLikeClause)

§

IndexElem(Box<IndexElem>)

§

DefElem(Box<DefElem>)

§

LockingClause(LockingClause)

§

XmlSerialize(Box<XmlSerialize>)

§

PartitionElem(Box<PartitionElem>)

§

PartitionSpec(PartitionSpec)

§

PartitionBoundSpec(PartitionBoundSpec)

§

PartitionRangeDatum(Box<PartitionRangeDatum>)

§

PartitionCmd(PartitionCmd)

§

RangeTblEntry(Box<RangeTblEntry>)

§

RtepermissionInfo(RtePermissionInfo)

§

RangeTblFunction(Box<RangeTblFunction>)

§

TableSampleClause(Box<TableSampleClause>)

§

WithCheckOption(Box<WithCheckOption>)

§

SortGroupClause(SortGroupClause)

§

GroupingSet(GroupingSet)

§

WindowClause(Box<WindowClause>)

§

RowMarkClause(RowMarkClause)

§

WithClause(WithClause)

§

InferClause(Box<InferClause>)

§

OnConflictClause(Box<OnConflictClause>)

§

CtesearchClause(CteSearchClause)

§

CtecycleClause(Box<CteCycleClause>)

§

CommonTableExpr(Box<CommonTableExpr>)

§

MergeWhenClause(Box<MergeWhenClause>)

§

MergeAction(Box<MergeAction>)

§

TriggerTransition(TriggerTransition)

§

JsonOutput(JsonOutput)

§

JsonKeyValue(Box<JsonKeyValue>)

§

JsonObjectConstructor(JsonObjectConstructor)

§

JsonArrayConstructor(JsonArrayConstructor)

§

JsonArrayQueryConstructor(Box<JsonArrayQueryConstructor>)

§

JsonAggConstructor(Box<JsonAggConstructor>)

§

JsonObjectAgg(Box<JsonObjectAgg>)

§

JsonArrayAgg(Box<JsonArrayAgg>)

§

RawStmt(Box<RawStmt>)

§

InsertStmt(Box<InsertStmt>)

§

DeleteStmt(Box<DeleteStmt>)

§

UpdateStmt(Box<UpdateStmt>)

§

MergeStmt(Box<MergeStmt>)

§

SelectStmt(Box<SelectStmt>)

§

SetOperationStmt(Box<SetOperationStmt>)

§

ReturnStmt(Box<ReturnStmt>)

§

PlassignStmt(Box<PlAssignStmt>)

§

CreateSchemaStmt(CreateSchemaStmt)

§

AlterTableStmt(AlterTableStmt)

§

ReplicaIdentityStmt(ReplicaIdentityStmt)

§

AlterTableCmd(Box<AlterTableCmd>)

§

AlterCollationStmt(AlterCollationStmt)

§

AlterDomainStmt(Box<AlterDomainStmt>)

§

GrantStmt(GrantStmt)

§

ObjectWithArgs(ObjectWithArgs)

§

AccessPriv(AccessPriv)

§

GrantRoleStmt(GrantRoleStmt)

§

AlterDefaultPrivilegesStmt(AlterDefaultPrivilegesStmt)

§

CopyStmt(Box<CopyStmt>)

§

VariableSetStmt(VariableSetStmt)

§

VariableShowStmt(VariableShowStmt)

§

CreateStmt(CreateStmt)

§

Constraint(Box<Constraint>)

§

CreateTableSpaceStmt(CreateTableSpaceStmt)

§

DropTableSpaceStmt(DropTableSpaceStmt)

§

AlterTableSpaceOptionsStmt(AlterTableSpaceOptionsStmt)

§

AlterTableMoveAllStmt(AlterTableMoveAllStmt)

§

CreateExtensionStmt(CreateExtensionStmt)

§

AlterExtensionStmt(AlterExtensionStmt)

§

AlterExtensionContentsStmt(Box<AlterExtensionContentsStmt>)

§

CreateFdwStmt(CreateFdwStmt)

§

AlterFdwStmt(AlterFdwStmt)

§

CreateForeignServerStmt(CreateForeignServerStmt)

§

AlterForeignServerStmt(AlterForeignServerStmt)

§

CreateForeignTableStmt(CreateForeignTableStmt)

§

CreateUserMappingStmt(CreateUserMappingStmt)

§

AlterUserMappingStmt(AlterUserMappingStmt)

§

DropUserMappingStmt(DropUserMappingStmt)

§

ImportForeignSchemaStmt(ImportForeignSchemaStmt)

§

CreatePolicyStmt(Box<CreatePolicyStmt>)

§

AlterPolicyStmt(Box<AlterPolicyStmt>)

§

CreateAmStmt(CreateAmStmt)

§

CreateTrigStmt(Box<CreateTrigStmt>)

§

CreateEventTrigStmt(CreateEventTrigStmt)

§

AlterEventTrigStmt(AlterEventTrigStmt)

§

CreatePlangStmt(CreatePLangStmt)

§

CreateRoleStmt(CreateRoleStmt)

§

AlterRoleStmt(AlterRoleStmt)

§

AlterRoleSetStmt(AlterRoleSetStmt)

§

DropRoleStmt(DropRoleStmt)

§

CreateSeqStmt(CreateSeqStmt)

§

AlterSeqStmt(AlterSeqStmt)

§

DefineStmt(DefineStmt)

§

CreateDomainStmt(Box<CreateDomainStmt>)

§

CreateOpClassStmt(CreateOpClassStmt)

§

CreateOpClassItem(CreateOpClassItem)

§

CreateOpFamilyStmt(CreateOpFamilyStmt)

§

AlterOpFamilyStmt(AlterOpFamilyStmt)

§

DropStmt(DropStmt)

§

TruncateStmt(TruncateStmt)

§

CommentStmt(Box<CommentStmt>)

§

SecLabelStmt(Box<SecLabelStmt>)

§

DeclareCursorStmt(Box<DeclareCursorStmt>)

§

ClosePortalStmt(ClosePortalStmt)

§

FetchStmt(FetchStmt)

§

IndexStmt(Box<IndexStmt>)

§

CreateStatsStmt(CreateStatsStmt)

§

StatsElem(Box<StatsElem>)

§

AlterStatsStmt(AlterStatsStmt)

§

CreateFunctionStmt(Box<CreateFunctionStmt>)

§

FunctionParameter(Box<FunctionParameter>)

§

AlterFunctionStmt(AlterFunctionStmt)

§

DoStmt(DoStmt)

§

InlineCodeBlock(InlineCodeBlock)

§

CallStmt(Box<CallStmt>)

§

CallContext(CallContext)

§

RenameStmt(Box<RenameStmt>)

§

AlterObjectDependsStmt(Box<AlterObjectDependsStmt>)

§

AlterObjectSchemaStmt(Box<AlterObjectSchemaStmt>)

§

AlterOwnerStmt(Box<AlterOwnerStmt>)

§

AlterOperatorStmt(AlterOperatorStmt)

§

AlterTypeStmt(AlterTypeStmt)

§

RuleStmt(Box<RuleStmt>)

§

NotifyStmt(NotifyStmt)

§

ListenStmt(ListenStmt)

§

UnlistenStmt(UnlistenStmt)

§

TransactionStmt(TransactionStmt)

§

CompositeTypeStmt(CompositeTypeStmt)

§

CreateEnumStmt(CreateEnumStmt)

§

CreateRangeStmt(CreateRangeStmt)

§

AlterEnumStmt(AlterEnumStmt)

§

ViewStmt(Box<ViewStmt>)

§

LoadStmt(LoadStmt)

§

CreatedbStmt(CreatedbStmt)

§

AlterDatabaseStmt(AlterDatabaseStmt)

§

AlterDatabaseRefreshCollStmt(AlterDatabaseRefreshCollStmt)

§

AlterDatabaseSetStmt(AlterDatabaseSetStmt)

§

DropdbStmt(DropdbStmt)

§

AlterSystemStmt(AlterSystemStmt)

§

ClusterStmt(ClusterStmt)

§

VacuumStmt(VacuumStmt)

§

VacuumRelation(VacuumRelation)

§

ExplainStmt(Box<ExplainStmt>)

§

CreateTableAsStmt(Box<CreateTableAsStmt>)

§

RefreshMatViewStmt(RefreshMatViewStmt)

§

CheckPointStmt(CheckPointStmt)

§

DiscardStmt(DiscardStmt)

§

LockStmt(LockStmt)

§

ConstraintsSetStmt(ConstraintsSetStmt)

§

ReindexStmt(ReindexStmt)

§

CreateConversionStmt(CreateConversionStmt)

§

CreateCastStmt(CreateCastStmt)

§

CreateTransformStmt(CreateTransformStmt)

§

PrepareStmt(Box<PrepareStmt>)

§

ExecuteStmt(ExecuteStmt)

§

DeallocateStmt(DeallocateStmt)

§

DropOwnedStmt(DropOwnedStmt)

§

ReassignOwnedStmt(ReassignOwnedStmt)

§

AlterTsdictionaryStmt(AlterTsDictionaryStmt)

§

AlterTsconfigurationStmt(AlterTsConfigurationStmt)

§

PublicationTable(Box<PublicationTable>)

§

PublicationObjSpec(Box<PublicationObjSpec>)

§

CreatePublicationStmt(CreatePublicationStmt)

§

AlterPublicationStmt(AlterPublicationStmt)

§

CreateSubscriptionStmt(CreateSubscriptionStmt)

§

AlterSubscriptionStmt(AlterSubscriptionStmt)

§

DropSubscriptionStmt(DropSubscriptionStmt)

§

Integer(Integer)

§

Float(Float)

§

Boolean(Boolean)

§

String(String)

§

BitString(BitString)

§

List(List)

§

IntList(IntList)

§

OidList(OidList)

§

AConst(AConst)

Implementations§

source§

impl NodeEnum

source

pub fn deparse(&self) -> Result<String>

source

pub fn nodes(&self) -> Vec<(NodeRef<'_>, i32, Context, bool)>

source

pub unsafe fn nodes_mut(&mut self) -> Vec<(NodeMut, i32, Context)>

Returns a mutable reference to nested nodes.

Safety

The caller may have to deal with dangling pointers, and passing an invalid tree back to libpg_query may cause it to panic.

source

pub fn to_ref(&self) -> NodeRef<'_>

source

pub fn to_mut(&mut self) -> NodeMut

source§

impl Node

source

pub fn encode<B>(&self, buf: &mut B)
where B: BufMut,

source

pub fn merge<B>( field: &mut Option<Node>, tag: u32, wire_type: WireType, buf: &mut B, ctx: DecodeContext ) -> Result<(), DecodeError>
where B: Buf,

source

pub fn encoded_len(&self) -> usize

Trait Implementations§

source§

impl Clone for Node

source§

fn clone(&self) -> Node

Returns a copy 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 PartialEq for Node

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for Node

Auto Trait Implementations§

§

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

§

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

§

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

§

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.