#[non_exhaustive]pub struct PrepareStepDetails {
pub concurrency_mode: ConcurrencyMode,
/* private fields */
}Expand description
Details for the PREPARE step.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.concurrency_mode: ConcurrencyModeThe concurrency mode this database will use when it reaches the
REDIRECT_WRITES step.
Implementations§
Source§impl PrepareStepDetails
impl PrepareStepDetails
pub fn new() -> Self
Sourcepub fn set_concurrency_mode<T: Into<ConcurrencyMode>>(self, v: T) -> Self
pub fn set_concurrency_mode<T: Into<ConcurrencyMode>>(self, v: T) -> Self
Sets the value of concurrency_mode.
Trait Implementations§
Source§impl Clone for PrepareStepDetails
impl Clone for PrepareStepDetails
Source§fn clone(&self) -> PrepareStepDetails
fn clone(&self) -> PrepareStepDetails
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 PrepareStepDetails
impl Debug for PrepareStepDetails
Source§impl Default for PrepareStepDetails
impl Default for PrepareStepDetails
Source§fn default() -> PrepareStepDetails
fn default() -> PrepareStepDetails
Returns the “default value” for a type. Read more
Source§impl Message for PrepareStepDetails
impl Message for PrepareStepDetails
Source§impl PartialEq for PrepareStepDetails
impl PartialEq for PrepareStepDetails
impl StructuralPartialEq for PrepareStepDetails
Auto Trait Implementations§
impl Freeze for PrepareStepDetails
impl RefUnwindSafe for PrepareStepDetails
impl Send for PrepareStepDetails
impl Sync for PrepareStepDetails
impl Unpin for PrepareStepDetails
impl UnwindSafe for PrepareStepDetails
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