pub struct TransactionBatchParams {
pub protocol_version: u32,
pub operations: Vec<BatchOperation>,
pub isolation_level: Option<IsolationLevel>,
pub timeout_ms: Option<u64>,
}Expand description
Execute multiple operations atomically in one transaction.
Fields§
§protocol_version: u32§operations: Vec<BatchOperation>Ordered list of operations to execute.
isolation_level: Option<IsolationLevel>Optional isolation level for the batch transaction.
timeout_ms: Option<u64>Optional timeout in milliseconds (default: 5000).
Trait Implementations§
Source§impl Clone for TransactionBatchParams
impl Clone for TransactionBatchParams
Source§fn clone(&self) -> TransactionBatchParams
fn clone(&self) -> TransactionBatchParams
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 TransactionBatchParams
impl Debug for TransactionBatchParams
Source§impl<'de> Deserialize<'de> for TransactionBatchParams
impl<'de> Deserialize<'de> for TransactionBatchParams
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
Auto Trait Implementations§
impl Freeze for TransactionBatchParams
impl RefUnwindSafe for TransactionBatchParams
impl Send for TransactionBatchParams
impl Sync for TransactionBatchParams
impl Unpin for TransactionBatchParams
impl UnsafeUnpin for TransactionBatchParams
impl UnwindSafe for TransactionBatchParams
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