pub struct SetTransactionStmt {
pub modes: Vec<TransactionMode>,
pub scope: Option<TransactionScope>,
pub snapshot_id: Option<String>,
pub name: Option<String>,
}Fields§
§modes: Vec<TransactionMode>Isolation level, access mode, deferrable.
scope: Option<TransactionScope>Scope: current transaction (default), session, or global.
snapshot_id: Option<String>PG: SET TRANSACTION SNAPSHOT snapshot_id.
name: Option<String>Oracle: transaction name.
Trait Implementations§
Source§impl Clone for SetTransactionStmt
impl Clone for SetTransactionStmt
Source§fn clone(&self) -> SetTransactionStmt
fn clone(&self) -> SetTransactionStmt
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 moreAuto Trait Implementations§
impl Freeze for SetTransactionStmt
impl RefUnwindSafe for SetTransactionStmt
impl Send for SetTransactionStmt
impl Sync for SetTransactionStmt
impl Unpin for SetTransactionStmt
impl UnsafeUnpin for SetTransactionStmt
impl UnwindSafe for SetTransactionStmt
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