pub enum TransactionStatement {
Begin,
Commit,
Rollback,
Savepoint(String),
ReleaseSavepoint(String),
RollbackTo(String),
}Expand description
Transaction control statements.
Variants§
Trait Implementations§
Source§impl Clone for TransactionStatement
impl Clone for TransactionStatement
Source§fn clone(&self) -> TransactionStatement
fn clone(&self) -> TransactionStatement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransactionStatement
impl Debug for TransactionStatement
Source§impl<'de> Deserialize<'de> for TransactionStatement
impl<'de> Deserialize<'de> for TransactionStatement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TransactionStatement
impl PartialEq for TransactionStatement
Source§impl Serialize for TransactionStatement
impl Serialize for TransactionStatement
impl StructuralPartialEq for TransactionStatement
Auto Trait Implementations§
impl Freeze for TransactionStatement
impl RefUnwindSafe for TransactionStatement
impl Send for TransactionStatement
impl Sync for TransactionStatement
impl Unpin for TransactionStatement
impl UnsafeUnpin for TransactionStatement
impl UnwindSafe for TransactionStatement
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