[][src]Enum postgres_parser::sys::TransactionStmtKind

#[repr(u32)]pub enum TransactionStmtKind {
    TRANS_STMT_BEGIN,
    TRANS_STMT_START,
    TRANS_STMT_COMMIT,
    TRANS_STMT_ROLLBACK,
    TRANS_STMT_SAVEPOINT,
    TRANS_STMT_RELEASE,
    TRANS_STMT_ROLLBACK_TO,
    TRANS_STMT_PREPARE,
    TRANS_STMT_COMMIT_PREPARED,
    TRANS_STMT_ROLLBACK_PREPARED,
}

{Begin|Commit|Rollback} Transaction Statement

Variants

TRANS_STMT_BEGIN
TRANS_STMT_START
TRANS_STMT_COMMIT

semantically identical to BEGIN

TRANS_STMT_ROLLBACK

semantically identical to BEGIN

TRANS_STMT_SAVEPOINT

semantically identical to BEGIN

TRANS_STMT_RELEASE

semantically identical to BEGIN

TRANS_STMT_ROLLBACK_TO

semantically identical to BEGIN

TRANS_STMT_PREPARE

semantically identical to BEGIN

TRANS_STMT_COMMIT_PREPARED

semantically identical to BEGIN

TRANS_STMT_ROLLBACK_PREPARED

semantically identical to BEGIN

Trait Implementations

impl Clone for TransactionStmtKind[src]

impl Copy for TransactionStmtKind[src]

impl Debug for TransactionStmtKind[src]

impl<'de> Deserialize<'de> for TransactionStmtKind[src]

impl Eq for TransactionStmtKind[src]

impl Hash for TransactionStmtKind[src]

impl PartialEq<TransactionStmtKind> for TransactionStmtKind[src]

impl Serialize for TransactionStmtKind[src]

impl StructuralEq for TransactionStmtKind[src]

impl StructuralPartialEq for TransactionStmtKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.