pub enum ConcurrencyStrategy {
UniqueKey {
field: String,
},
OptimisticVersion {
field: String,
},
ReadSnapshot,
}Variants§
Trait Implementations§
Source§impl Clone for ConcurrencyStrategy
impl Clone for ConcurrencyStrategy
Source§impl Debug for ConcurrencyStrategy
impl Debug for ConcurrencyStrategy
Source§impl<'de> Deserialize<'de> for ConcurrencyStrategy
impl<'de> Deserialize<'de> for ConcurrencyStrategy
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
Source§impl PartialEq for ConcurrencyStrategy
impl PartialEq for ConcurrencyStrategy
Source§impl Serialize for ConcurrencyStrategy
impl Serialize for ConcurrencyStrategy
impl StructuralPartialEq for ConcurrencyStrategy
Auto Trait Implementations§
impl Forget for ConcurrencyStrategy
impl Freeze for ConcurrencyStrategy
impl Move for ConcurrencyStrategy
impl RefUnwindSafe for ConcurrencyStrategy
impl Send for ConcurrencyStrategywhere
RawVecInner: Send,
impl Sync for ConcurrencyStrategywhere
RawVecInner: Sync,
impl Unpin for ConcurrencyStrategy
impl UnsafeUnpin for ConcurrencyStrategy
impl UnwindSafe for ConcurrencyStrategywhere
RawVecInner: UnwindSafe,
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