#[derive(Clone, Debug, PartialEq)]
pub struct Begin(pub TransactionMode);
#[derive(Clone, Debug, PartialEq)]
pub struct Commit;
#[derive(Clone, Debug, PartialEq)]
pub struct Rollback(pub Option<String>);
#[derive(Clone, Debug, PartialEq)]
pub struct Savepoint(pub String);
#[derive(Clone, Debug, PartialEq)]
pub struct Release(pub String);
#[derive(Clone, Debug, PartialEq)]
pub enum TransactionMode {
Deferred, Immediate,
Exclusive,
}