pub enum TransactionCommand {
Begin {
name: Option<String>,
},
Commit {
name: Option<String>,
},
Rollback {
name: Option<String>,
},
}Expand description
Transaction command
Variants§
Trait Implementations§
Source§impl Clone for TransactionCommand
impl Clone for TransactionCommand
Source§fn clone(&self) -> TransactionCommand
fn clone(&self) -> TransactionCommand
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 TransactionCommand
impl Debug for TransactionCommand
Source§impl<'de> Deserialize<'de> for TransactionCommand
impl<'de> Deserialize<'de> for TransactionCommand
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 TransactionCommand
impl PartialEq for TransactionCommand
Source§impl Serialize for TransactionCommand
impl Serialize for TransactionCommand
impl StructuralPartialEq for TransactionCommand
Auto Trait Implementations§
impl Freeze for TransactionCommand
impl RefUnwindSafe for TransactionCommand
impl Send for TransactionCommand
impl Sync for TransactionCommand
impl Unpin for TransactionCommand
impl UnwindSafe for TransactionCommand
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