pub enum PostgresSqlStatementKind {
Show 16 variants
Comment {
comment: PostgresSqlComment,
},
AlterIndex {
index: PostgresSqlAlterIndex,
},
Wrapper {
wrapper: PostgresSqlWrapper,
},
Insert {
insert: Box<PostgresSqlInsert>,
},
Select {
query: PostgresSqlQuery,
},
CreateTable {
table: PostgresSqlName,
columns: Vec<PostgresSqlColumn>,
constraints: Vec<PostgresSqlConstraint>,
temporary: bool,
},
AlterTable {
table: PostgresSqlName,
operations: Vec<PostgresSqlAlterOperation>,
},
CreateIndex {
index: PostgresSqlIndex,
},
CreateView {
view: PostgresSqlView,
},
CreateTrigger {
trigger: PostgresSqlTrigger,
},
CreateFunction {
function: PostgresSqlFunction,
},
Drop {
drop: PostgresSqlDrop,
},
LiteralExecute {
execute: PostgresSqlLiteralExecute,
},
DoBlock {
block: PostgresSqlProceduralBlock,
},
Conditional {
branches: Vec<PostgresSqlConditionalBranch>,
},
Other,
}Variants§
Comment
Fields
§
comment: PostgresSqlCommentAlterIndex
Fields
§
index: PostgresSqlAlterIndexWrapper
Fields
§
wrapper: PostgresSqlWrapperInsert
Fields
§
insert: Box<PostgresSqlInsert>Select
Fields
§
query: PostgresSqlQueryCreateTable
Fields
§
table: PostgresSqlName§
columns: Vec<PostgresSqlColumn>§
constraints: Vec<PostgresSqlConstraint>AlterTable
CreateIndex
Fields
§
index: PostgresSqlIndexCreateView
Fields
§
view: PostgresSqlViewCreateTrigger
Fields
§
trigger: PostgresSqlTriggerCreateFunction
Fields
§
function: PostgresSqlFunctionDrop
Fields
§
drop: PostgresSqlDropLiteralExecute
Fields
§
execute: PostgresSqlLiteralExecuteDoBlock
Fields
§
block: PostgresSqlProceduralBlockConditional
Fields
§
branches: Vec<PostgresSqlConditionalBranch>Other
Trait Implementations§
Source§impl Clone for PostgresSqlStatementKind
impl Clone for PostgresSqlStatementKind
Source§impl Debug for PostgresSqlStatementKind
impl Debug for PostgresSqlStatementKind
impl Eq for PostgresSqlStatementKind
Source§impl PartialEq for PostgresSqlStatementKind
impl PartialEq for PostgresSqlStatementKind
Source§impl Serialize for PostgresSqlStatementKind
impl Serialize for PostgresSqlStatementKind
impl StructuralPartialEq for PostgresSqlStatementKind
Auto Trait Implementations§
impl Forget for PostgresSqlStatementKind
impl Freeze for PostgresSqlStatementKindwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<PostgresSqlIdentifier>: Freeze,
PhantomData<PostgresSqlFunctionArgument>: Freeze,
PhantomData<PostgresSqlStatement>: Freeze,
PhantomData<PostgresSqlDiagnostic>: Freeze,
*const PostgresSqlInsert is !null: Freeze,
PhantomData<PostgresSqlInsert>: Freeze,
PhantomData<PostgresSqlQueryScope>: Freeze,
PhantomData<PostgresSqlQueryRelation>: Freeze,
PhantomData<PostgresSqlQueryJoin>: Freeze,
PhantomData<PostgresSqlQueryColumn>: Freeze,
PhantomData<PostgresSqlQueryEquality>: Freeze,
PhantomData<PostgresSqlQueryExists>: Freeze,
PhantomData<PostgresSqlQueryQuantifiedComparison>: Freeze,
PhantomData<PostgresSqlQueryCte>: Freeze,
PhantomData<PostgresSqlQueryStatement>: Freeze,
PhantomData<PostgresSqlQueryUnsupported>: Freeze,
PhantomData<PostgresSqlColumn>: Freeze,
PhantomData<PostgresSqlConstraint>: Freeze,
PhantomData<PostgresSqlAlterOperation>: Freeze,
PhantomData<PostgresSqlIndexKey>: Freeze,
PhantomData<PostgresSqlName>: Freeze,
PhantomData<PostgresSqlFunctionReference>: Freeze,
PhantomData<PostgresSqlCallArgument>: Freeze,
PhantomData<String>: Freeze,
*const PostgresSqlExpressionRoot is !null: Freeze,
PhantomData<PostgresSqlExpressionRoot>: Freeze,
PhantomData<Option<u64>>: Freeze,
PhantomData<PostgresSqlExpressionChild>: Freeze,
PhantomData<PostgresSqlTriggerEvent>: Freeze,
PhantomData<PostgresSqlTriggerTransition>: Freeze,
PhantomData<PostgresSqlExpression>: Freeze,
PhantomData<PostgresSqlProceduralOccurrence>: Freeze,
PhantomData<PostgresSqlConditionalBranch>: Freeze,
impl Move for PostgresSqlStatementKind
impl RefUnwindSafe for PostgresSqlStatementKind
impl Send for PostgresSqlStatementKindwhere
RawVecInner: Send,
BoxRaw<PostgresSqlExpressionRoot>: Send,
BoxRaw<PostgresSqlInsert>: Send,
BoxRaw<PostgresSqlExpression>: Send,
BoxRaw<PostgresSqlCteInsert>: Send,
BoxRaw<PostgresSqlColumn>: Send,
BoxRaw<PostgresSqlConstraint>: Send,
impl Sync for PostgresSqlStatementKindwhere
RawVecInner: Sync,
BoxRaw<PostgresSqlExpressionRoot>: Sync,
BoxRaw<PostgresSqlInsert>: Sync,
BoxRaw<PostgresSqlExpression>: Sync,
BoxRaw<PostgresSqlCteInsert>: Sync,
BoxRaw<PostgresSqlColumn>: Sync,
BoxRaw<PostgresSqlConstraint>: Sync,
impl Unpin for PostgresSqlStatementKindwhere
*const u8 is !null: Unpin,
Box<PostgresSqlExpressionRoot>: Unpin,
Box<PostgresSqlInsert>: Unpin,
Box<PostgresSqlExpression>: Unpin,
Box<PostgresSqlCteInsert>: Unpin,
Box<PostgresSqlColumn>: Unpin,
Box<PostgresSqlConstraint>: Unpin,
impl UnsafeUnpin for PostgresSqlStatementKindwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PostgresSqlIdentifier>: UnsafeUnpin,
PhantomData<PostgresSqlFunctionArgument>: UnsafeUnpin,
PhantomData<PostgresSqlStatement>: UnsafeUnpin,
PhantomData<PostgresSqlDiagnostic>: UnsafeUnpin,
*const PostgresSqlInsert is !null: UnsafeUnpin,
PhantomData<PostgresSqlInsert>: UnsafeUnpin,
PhantomData<PostgresSqlQueryScope>: UnsafeUnpin,
PhantomData<PostgresSqlQueryRelation>: UnsafeUnpin,
PhantomData<PostgresSqlQueryJoin>: UnsafeUnpin,
PhantomData<PostgresSqlQueryColumn>: UnsafeUnpin,
PhantomData<PostgresSqlQueryEquality>: UnsafeUnpin,
PhantomData<PostgresSqlQueryExists>: UnsafeUnpin,
PhantomData<PostgresSqlQueryQuantifiedComparison>: UnsafeUnpin,
PhantomData<PostgresSqlQueryCte>: UnsafeUnpin,
PhantomData<PostgresSqlQueryStatement>: UnsafeUnpin,
PhantomData<PostgresSqlQueryUnsupported>: UnsafeUnpin,
PhantomData<PostgresSqlColumn>: UnsafeUnpin,
PhantomData<PostgresSqlConstraint>: UnsafeUnpin,
PhantomData<PostgresSqlAlterOperation>: UnsafeUnpin,
PhantomData<PostgresSqlIndexKey>: UnsafeUnpin,
PhantomData<PostgresSqlName>: UnsafeUnpin,
PhantomData<PostgresSqlFunctionReference>: UnsafeUnpin,
PhantomData<PostgresSqlCallArgument>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const PostgresSqlExpressionRoot is !null: UnsafeUnpin,
PhantomData<PostgresSqlExpressionRoot>: UnsafeUnpin,
PhantomData<Option<u64>>: UnsafeUnpin,
PhantomData<PostgresSqlExpressionChild>: UnsafeUnpin,
PhantomData<PostgresSqlTriggerEvent>: UnsafeUnpin,
PhantomData<PostgresSqlTriggerTransition>: UnsafeUnpin,
PhantomData<PostgresSqlExpression>: UnsafeUnpin,
PhantomData<PostgresSqlProceduralOccurrence>: UnsafeUnpin,
PhantomData<PostgresSqlConditionalBranch>: UnsafeUnpin,
impl UnwindSafe for PostgresSqlStatementKindwhere
RawVecInner: UnwindSafe,
BoxRaw<PostgresSqlExpressionRoot>: UnwindSafe,
BoxRaw<PostgresSqlInsert>: UnwindSafe,
BoxRaw<PostgresSqlExpression>: UnwindSafe,
BoxRaw<PostgresSqlCteInsert>: UnwindSafe,
BoxRaw<PostgresSqlColumn>: UnwindSafe,
BoxRaw<PostgresSqlConstraint>: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
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