Enum sea_orm_migration::prelude::query::LockBehavior
pub enum LockBehavior {
Nowait,
SkipLocked,
}Expand description
List of lock behavior can be used in select statement
Variants
Trait Implementations
impl Clone for LockBehavior
impl Clone for LockBehavior
fn clone(&self) -> LockBehavior
fn clone(&self) -> LockBehavior
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Debug for LockBehavior
impl Debug for LockBehavior
impl PartialEq<LockBehavior> for LockBehavior
impl PartialEq<LockBehavior> for LockBehavior
fn eq(&self, other: &LockBehavior) -> bool
fn eq(&self, other: &LockBehavior) -> bool
impl Copy for LockBehavior
impl Eq for LockBehavior
impl StructuralEq for LockBehavior
impl StructuralPartialEq for LockBehavior
Auto Trait Implementations
impl RefUnwindSafe for LockBehavior
impl Send for LockBehavior
impl Sync for LockBehavior
impl Unpin for LockBehavior
impl UnwindSafe for LockBehavior
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.