pub struct StartTransactionOptions {
pub timeout: Duration,
pub atomicity: Atomicity,
pub parent_id: Option<Guid>,
}Expand description
Options for Client::start_transaction.
Fields§
§timeout: DurationHow long the server waits between pings before aborting.
atomicity: Atomicity§parent_id: Option<Guid>Trait Implementations§
Source§impl Clone for StartTransactionOptions
impl Clone for StartTransactionOptions
Source§fn clone(&self) -> StartTransactionOptions
fn clone(&self) -> StartTransactionOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StartTransactionOptions
impl Debug for StartTransactionOptions
Auto Trait Implementations§
impl Freeze for StartTransactionOptions
impl RefUnwindSafe for StartTransactionOptions
impl Send for StartTransactionOptions
impl Sync for StartTransactionOptions
impl Unpin for StartTransactionOptions
impl UnsafeUnpin for StartTransactionOptions
impl UnwindSafe for StartTransactionOptions
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